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