Hi,
I have around 1000+ vector layers. One circle in each layer. If the zoom is high, so I see only several circles, everything is OK. If the zoom is low, so all circles/layers are shown on the map, the app starts to freeze.
Is there a way how to prevent the drawing of VectorLayer on lower zooms?
I remove all vector layers when user touches the map in lower zoom, but problem is if user touches the map in high zoom and changes the zoom by more levels. In that case all vector layers are drawn in lower zooms because I registered the touch on high zoom only.
Is there a way how to prevent the drawing of VectorLayer on lower zooms directly or is there any zoom listener? So I could identify low zoom while user is still zooming?
thank you