leaflet.migrationLayer icon indicating copy to clipboard operation
leaflet.migrationLayer copied to clipboard

Timing is reset on map move

Open IvanSanchez opened this issue 8 years ago • 0 comments

Whenever the map is moved, the animation of all arrows resets: if a spark is in the middle of a long arc, moving the map will reset it back to the beginning of the arc instantaneously.

It would be better if the position of the arrows/sparks would be consistent. I suggest adding some kind of timer, or a global counter for the number of frames rendered. Then base the position of the arrows/sparks based on that.

IvanSanchez avatar Jan 17 '17 09:01 IvanSanchez