Skip to content

bonfirefan/tour-boston-leaflet

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

leaflet-storymap

Leaflet storymap with scroll-driven navigation for narrative and point markers from easy-to-learn template, with GeoJSON data file

Demo

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

Features

  • Scroll-driven navigation, using screen swipe, trackpad, or keyboard down-arrow. Initial map displays all point markers.
  • Viewers can pan and zoom the map independently of the narration, or click on any point to go directly to that chapter.
  • Easy-to-learn template to create your own storymap. Upload text, point coordinates, zoom levels, and image links to a CSV generic spreadsheet, and drag into http://geojson.io to create a GeoJSON data file.
  • Images can be stored in local subfolder or pulled from an external URL.
  • Works in modern browsers: Chrome, Firefox, Safari, Internet Explorer 9+.
  • Accessible tested using the WAVE and aXe tools.

Limitations

  • Due to GeoJSON data limitations, there is no easy way to insert hyperlinks inside the 'description' text. They must be created outside, in fields such as "source-link".
  • Images must contain an alternative text, or alt tag description of the photo to maintain accessibility using the alt field in the csv/geojson.

See also

Compare with

Requires open-source libraries

  • Leaflet.js
  • leaflet.extra-markers
  • jQuery
  • Font Awesome

Credits

Create your own storymap

See easy-to-learn instructions in the Leaflet Templates section of Data Visualization for All book at http://DataVizForAll.org

Examples with Added Features

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 50.8%
  • CSS 32.1%
  • HTML 17.1%