I'm pulling polygon data (neighborhood boundaries in San Francisco) from an API on https://data.sfgov.org/Geographic-Locations-and-Boundaries/SF-Find-Neighborhoods/pty2-tcw4/data. While I made sure on my console that I'm indeed pulling the data, I am having trouble visualizing the layer as displayed on the original page.
I kept the JS fiddle simple. I've tried different D3 methods but I keep running into dead ends, usually with a feature being undefined.
$.getJSON()
, but you are initilizing an empty GeoJSON usingvar geojsonLayer = new L.GeoJSON();
– Devdatta Tengshe Jul 3 '18 at 5:52