Skip to content

Instantly share code, notes, and snippets.

View gist:172cbb99f3611b2597165c1330544a96
var drawnItems = new L.FeatureGroup();
map.addLayer(drawnItems);
$.getJSON("js/draw/neighborhoods.json",function(hoodData){
alert("this is editableLayers");
var i = 0;
var geojsonlayer = L.geoJson(hoodData,
{
// onEachFeature: function onEachFeature(feature, layer) {
// drawnItems.addLayer(layer);
// alert("this is Layers");
You can’t perform that action at this time.