Closed KaiVolland closed 12 months ago
This PR makes use of structuredClone when writing the style to avoid manipulation of the input object.
structuredClone
It also pushes null to the styles array when the visibilty of a symbolizer is set to false.
null
visibilty
symbolizer
false
Fixes #740
Please check the type of change your PR introduces:
npm test
Description
This PR makes use of
structuredClone
when writing the style to avoid manipulation of the input object.It also pushes
null
to the styles array when thevisibilty
of asymbolizer
is set tofalse
.Related issues or pull requests
Fixes #740
Pull request type
Please check the type of change your PR introduces:
Do you introduce a breaking change?
Checklist
npm test
locally)