Commit f182d6c
authored
When loading GeoJSON data containing only LineString/MultiLineString
features, setInitialLayerConfig did not set a strokeColor, leaving it
as null. This caused the stroke color picker in the layer panel to show
a different color than what was actually rendered (which fell back to
the layer's base color).
Now LineString-only layers get explicit strokeColor initialization
matching the behavior of polygon layers, ensuring the color picker
accurately reflects the rendered line color and that user changes
to stroke color take effect immediately.
Closes #2305
Signed-off-by: pierreeurope <pierre.europe@pm.me>
1 parent f25f128 commit f182d6c
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
637 | 637 | | |
638 | 638 | | |
639 | 639 | | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
640 | 647 | | |
641 | 648 | | |
642 | 649 | | |
| |||
0 commit comments