Leaflet Maps Side by Side
Two Leaflet maps are displayed side by side, comparing Stamen Design's old and new Toner tile styles. The maps are synchronized so that panning and zooming on one map updates the other, with a custom cursor indicator tracking mouse position across both views. The visualization uses OpenStreetMap data and incorporates the Leaflet-hash plugin to sync the URL hash with the map state. Animated interaction is provided by the mouse-following cursor and synchronized map movements, making it easy to spot differences in the two styles.
AI-generated descriptionSide by side leaflet (Toner comparison)
Comparison of Stamen Design's previous Toner style with new Toner data as of 2014.
Borrowed from Andrew Harvey's gist here and his live demo.
Extended with Leaflet-hash by Michael Evans
Adapted to function on bl.ocks.org by Alan McConchie