jieter / Leaflet.Sync

Synchronized view of two maps.
http://jieter.github.io/Leaflet.Sync/examples/dual.html
BSD 3-Clause "New" or "Revised" License
235 stars 53 forks source link

Sync Issues in version 1.9.2 #66

Open spymaps opened 2 years ago

spymaps commented 2 years ago

Hello. The inertia problem is back. Ok - https://spymaps.space/examples/1.7.1 Not ok - https://spymaps.space/examples/1.9.2

jjimenezshaw commented 2 years ago

Could you explain what is the problem, and how to reproduce it (including the platform, browser, etc)? I have tried both examples in my PC with Chrome and Firefox, and I do not notice anything different.

spymaps commented 2 years ago

"If you have two synced maps (A and B), with inertia enabled, and you drag the map in A, both have inertia and keep moving when you release the mouse button. However, if you click on map A (or B) before it stops moving, map A (or B) will stop, but B (or A) still keep moving because of inertia." Win10 with Chrome and Firefox, Android with Chrome.

spymaps commented 2 years ago

https://youtu.be/GFm1jloH1dw