/leaflet-storymap-layers

Scroll-driven story map, with point markers and narrative text and multiple GeoJSON layers, using Leaflet and jQuery

Primary LanguageJavaScriptMIT LicenseMIT

leaflet-storymap-layers

Scroll-driven story map, with point markers and narrative text and multiple GeoJSON layers, using Leaflet and jQuery

Demo

http://jackdougherty.github.io/leaflet-storymap-layers/index.html

Goal

Scrolling the storymap adds/removes GeoJSON layers, to tell a story about changing boundaries over time

Coding suggestion: use add/remove layer to make background geojson appear/disappear with scroll movement

The map.geojson file now includes a layer property, which refers to the layer folder: layer1.geojson, layer2.geojson, layer3.geojson

Markers do NOT need to appear on this map, but use the lat lng coordinates in the map.geojson file to zoom into areas for chapters

Images still need to appear in the storymap, but ignore my placeholders for now