Leaflet Side-by-Side Map
A split-screen comparison map: a single zoomed-and-panned-together canvas that shows two different basemaps simultaneously, separated by a draggable vertical handle. Slide the handle left or right to reveal more of the left layer or the right layer — a classic before/after, satel
Template details
- map
- compare
- split-screen
- before-after
- leaflet
- swipe
When to use this template
This visualization effectively highlights spatial differences or changes between two distinct geographic representations of the same area. It is ideal for analysts needing to visually compare how a location's features, conditions, or underlying data layers vary across time, policy scenarios, or different data sources, making direct visual assessment of contrasts straightforward.
- Two distinct, georeferenced raster tile sets.
- Basemap layers representing different time periods.
- Geospatial data for direct A/B visual comparison.
- Paired geographic datasets with identical extents.
- Data where changes in land cover or features are key.
- Map layers showing different thematic interpretations of the same area.