From b56f023c7ae1b9e63e1d4580eb82ffb99a8673e1 Mon Sep 17 00:00:00 2001 From: humano Date: Mon, 29 Jul 2019 11:03:54 -0500 Subject: [PATCH] agrega geojson auxiliar --- circuitos.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/circuitos.php b/circuitos.php index f728a0c..75f0aed 100644 --- a/circuitos.php +++ b/circuitos.php @@ -222,9 +222,14 @@ $ids = json_decode($otro_json[0]); } }).addTo(map); + + + // markers.addLayer(geojsonAux); + + var markers = L.markerClusterGroup(); markers.addLayer(geojson).addTo(map); - + map.fitBounds(geojson.getBounds().pad(Math.sqrt(2) /4)); // create the sidebar instance and add it to the map