Seattle Times Map Template
This template for grunt-init sets up an embeddable Leaflet map using a set of custom elements. It's intended to quickly spin up maps using GeoJSON. It's based on the Seattle Times News App template, and you should refer to that for more information on the work it does.
Using the template
Once installed, the following steps will get a map up and running quickly:
grunt-initin your project directory to initialize the scaffolding.
- Replace the
states.geo.jsonfile with your own GeoJSON.
index.htmlto include this new GeoJSON, and use the
<geo-popup>elements to color and annotate it, respectively.