Hi,
we noticed bug with mapPreview while a user sets visibility to false on a rule. If this option is set to false, all features (and all styles) are missing from the map.
The problem occurs on line
An array containing
null values causes an error. The same issue appears at the line
It would probably be sufficient to return early from
forEach loop in cases when
rule.symbolizer has
visibility set to
false.
Hi,
we noticed bug with
mapPreviewwhile a user setsvisibilitytofalseon a rule. If this option is set tofalse, all features (and all styles) are missing from the map.The problem occurs on line
geostyler-openlayers-parser/src/OlStyleParser.ts
Line 849 in 8d5dd38
An array containing
nullvalues causes an error. The same issue appears at the linegeostyler-openlayers-parser/src/OlStyleParser.ts
Line 855 in 8d5dd38
It would probably be sufficient to return early from
forEachloop in cases whenrule.symbolizerhasvisibilityset tofalse.