leaflet.bouncemarker
leaflet.bouncemarker copied to clipboard
Handle zoom nicely
If you zoom in/out on the map during animation, the marker goes a bit bonkers, it should do the right thing, which is to continue to animate along its path nicely between it's starting and stopping position.
Probably distance should take in the zoom factor and be updated accordingly when we draw frames? Experiment would be needed there.