block by phil-pedruco 7381401

D3.js and Leaflet with a simple json overlay

Full Screen

A bump of Pere’s gist to get the geojson polygons to plot correctly, in answer to this Stack Overflow question. In summary the bounds of the polygon needed to be recalcauted when leaflet map was called i.e. bounds was copied into the reset function in the code below.

index.html

leaflet.css