hosuaby / Leaflet.SmoothMarkerBouncing

Smooth animation of marker bouncing for Leaflet.
BSD 2-Clause "Simplified" License
146 stars 28 forks source link

Start bouncing synchronously #50

Closed pvodoz closed 1 year ago

pvodoz commented 1 year ago

Hi, When applying the bounce method to a list of markers through a foreach loop, the boucing of all markers is not synchronous when the number of markers is quite important. Is there any way to synchronize bouncing for all bouncing markers? Thanks

hosuaby commented 1 year ago

Hello, @pvodoz

This is true. There is no way to synchronize bouncing of markers. Even if they all start at the same time, they quickly become desynchronized when map is moved or resized.

hosuaby commented 1 year ago

Closed cause cannot be solved.