A demonstration of how to add geoJSON data to a Leaflet map. The demo uses jQuery's getJSON method and a vanilla XMLHttpRequest.
This demo is for the 1.x release of Leaflet.js.
GeoJSON data is provided by the City of Pittsburgh, Pennsylvania.
A Pen by weedkiller on CodePen.
