ol-mapbox-style
ol-mapbox-style copied to clipboard
Remove Style (undo apply)
Is there a way to "remove" styles? The opposite of "apply" so to say. I would like to switch different styles via JS and therefore not only need to apply certain styles but also remove them.
When you use apply(layerGroup, ...)
, you can delete the whole layer group and then apply a different style to a new layer group.