Skip to content

Commit 1e8f54b

Browse files
committed
Fix MultiLineString class in GIS svg export
Signed-off-by: Maximilian Krög <maxi_kroeg@web.de>
1 parent 671cfbe commit 1e8f54b

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/Gis/GisMultiLineString.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ public function prepareRowAsPdf(
165165
public function prepareRowAsSvg(string $spatial, string $label, array $color, ScaleData $scaleData): string
166166
{
167167
$options = [
168-
'class' => 'linestring vector',
168+
'class' => 'multilinestring vector',
169169
'fill' => 'none',
170170
'stroke' => sprintf('#%02x%02x%02x', $color[0], $color[1], $color[2]),
171171
'stroke-width' => 2,

tests/test_data/gis/geometries-expected.svg

Lines changed: 2 additions & 2 deletions
Loading

tests/test_data/gis/geometrycollection-expected.svg

Lines changed: 2 additions & 2 deletions
Loading

0 commit comments

Comments
 (0)