digidem / leaflet-side-by-side

A Leaflet control to add a split screen to compare two map overlays
http://lab.digital-democracy.org/leaflet-side-by-side/
MIT License
351 stars 111 forks source link

Both the maps move when we drag one #25

Open kunaldhariwal opened 5 years ago

kunaldhariwal commented 5 years ago

Both the maps move from the places when we try to drag one map. One map should stay stable when the other one is being dragged.

markusand commented 4 years ago

It is what’s supposed to happen on a compare function.