forked from qwerty/tupali
agrega geojson auxiliar
This commit is contained in:
parent
83f69e2df9
commit
b56f023c7a
@ -222,9 +222,14 @@ $ids = json_decode($otro_json[0]);
|
|||||||
}
|
}
|
||||||
}).addTo(map);
|
}).addTo(map);
|
||||||
|
|
||||||
|
<?php echo $layer; ?>
|
||||||
|
|
||||||
|
// markers.addLayer(geojsonAux);
|
||||||
|
|
||||||
|
|
||||||
var markers = L.markerClusterGroup();
|
var markers = L.markerClusterGroup();
|
||||||
markers.addLayer(geojson).addTo(map);
|
markers.addLayer(geojson).addTo(map);
|
||||||
|
<?php echo $add_layer; ?>
|
||||||
map.fitBounds(geojson.getBounds().pad(Math.sqrt(2) /4));
|
map.fitBounds(geojson.getBounds().pad(Math.sqrt(2) /4));
|
||||||
|
|
||||||
// create the sidebar instance and add it to the map
|
// create the sidebar instance and add it to the map
|
||||||
|
Loading…
Reference in New Issue
Block a user