SpatialServer/Leaflet.MapboxVectorTile

Update style without removing and adding layer

rishabhjain30 opened this issue · 1 comments

How can I update the style of a layer or any other attribute like onclick without actually having to remove the layer and adding it again?

Calling MVTSource.setStyle() with a new style function will result in the layer being redrawn.