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
346 stars 108 forks source link

Leaflet layer Control #2

Closed Sloper88 closed 8 years ago

Sloper88 commented 8 years ago

Hello,

is there any solution to combine that plugin with leaflet Layer Control ? If I try to dynamicly change the layers for left and right Side,destroys the mapview. Much thanks