Skip to content

Instantly share code, notes, and snippets.

View pavan-cs's full-sized avatar
🎯
Focusing

Pavan pavan-cs

🎯
Focusing
View GitHub Profile
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");