Skip to main content
100%

Leaflet starter with GeoJSON overlay

✓ Published0🌍 Public
AAlan McConchie
Last edited Nov 4, 2016
Created on Nov 4, 2016

A Leaflet map of the world with a GeoJSON overlay of populated places, loaded via D3. The map uses Stamen Toner tiles and points are plotted using Leaflet's `L.geoJson` layer. The example shows how to combine Leaflet with an external library to load geographic data, with the GeoJSON file containing point features for cities around the world.

AI-generated description

Notice here how we have to add another library (D3 in this case, but could be jQuery) to load the external GeoJSON file.

Built with blockbuilder.org

forked from <a href='http://bl.ocks.org/enjalot/'>enjalot</a>'s block: <a href='http://bl.ocks.org/enjalot/44f910feb7babb73e07a9da12f8a1055'>WWSD #1-b: Leaflet starter</a>

mit Licensed

Similar vizzes