Skip to content

Instantly share code, notes, and snippets.

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");