agrega geojson auxiliar

This commit is contained in:
humano 2019-07-29 11:03:54 -05:00
parent 83f69e2df9
commit b56f023c7a

View File

@ -222,9 +222,14 @@ $ids = json_decode($otro_json[0]);
}
}).addTo(map);
<?php echo $layer; ?>
// markers.addLayer(geojsonAux);
var markers = L.markerClusterGroup();
markers.addLayer(geojson).addTo(map);
<?php echo $add_layer; ?>
map.fitBounds(geojson.getBounds().pad(Math.sqrt(2) /4));
// create the sidebar instance and add it to the map