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

how to make the control split from top to bottom #51

Open hejustbrave opened 1 year ago

hejustbrave commented 1 year ago

with reading the code,I can't find the code about dragging the range DOM.My aim is make the split from top to bottom,anyone helps will be grateful.