This is the demo showing how we can use 2 different Leaflet Maps to compare, or display side by side to show a before-after effect or something similar to that. You can find the demo in the description of this repository.
- Change
constants.js
file insidejs
directory. - Changes you can make:
- Center of the Map
- Zoom Level
- Both the Tile Layer urls
- To change the handle, replace
img/handle.gif
with your ownhandle.gif
file.