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

Adding geojsons #30

Closed oforiaddaejnr closed 3 years ago

oforiaddaejnr commented 3 years ago

Is there any possible way to add separate geojsons to either of the 2 layers? Because for now it seems when I add a geojson file, it automatically adds it to both layers. I've been trying to figure out a way around it, but can't seem to find one. An example of what I'm talking about is pictured below aus