You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Something lik eventEndZoom.
Now zoom in mapState is changing all the time during MapEvent, and it's triggering children rebuilds every time.
Would be great to have some helpful eventEndZoom to use it in children layers. Zoom will be changed only after event's end, but not changing during event.
For example, if I`m changing zoom from 10 to 20 by one gesture, I want to rebuild my plugin layer just at zoom=10, but not rebuild it at each zoom like 19 18 17 16 15 ... 10.
I have a lot of markers and some animations when zoom changing, and now it necessary to forward all this animation at each zoom from 10 to 20. Would be great to have possibility to forward animation just from 10 to 20 zoom directly.
What other alternatives are available?
A little workaround is to use ceil() for zoom.
Can you provide any other information?
Example of similar functional in Google Maps
With such functional I can change my widgetState just one time when MapEvent (move or zooming) was ended.
I can't quite get my head around how this would work as the description feels like it's after 2 separate things (i.e an idle callback vs some sort of SnapToSomeStep type of implementation?). If it's a snap, I'm not sure the UI feedback would be very good (you'd just not think it was working?). If it's just a callback, you could probably just listen to a mapController stream and do something if no update after x ms ?
What do you want implemented?
Something lik eventEndZoom.
Now zoom in mapState is changing all the time during MapEvent, and it's triggering children rebuilds every time.
Would be great to have some helpful eventEndZoom to use it in children layers. Zoom will be changed only after event's end, but not changing during event.
For example, if I`m changing zoom from 10 to 20 by one gesture, I want to rebuild my plugin layer just at zoom=10, but not rebuild it at each zoom like 19 18 17 16 15 ... 10.
I have a lot of markers and some animations when zoom changing, and now it necessary to forward all this animation at each zoom from 10 to 20. Would be great to have possibility to forward animation just from 10 to 20 zoom directly.
What other alternatives are available?
A little workaround is to use ceil() for zoom.
Can you provide any other information?
Example of similar functional in Google Maps
With such functional I can change my widgetState just one time when MapEvent (move or zooming) was ended.
Platforms Affected
Android, iOS, Web, Windows, MacOS, Linux
Severity
Annoying: Currently have to use workarounds
Requirements
The text was updated successfully, but these errors were encountered: