diff --git a/templates/index.html b/templates/index.html
index a18066e..f67446c 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -230,6 +230,9 @@
Geojson:
var layer = L.geoJSON(feature).addTo(map);
geometryLayerGroup.addLayer(layer);
+ // fly to bounds
+ map.flyToBounds(L.geoJson(map.pm.getGeomanLayers(true).toGeoJSON()).getBounds());
+
// solo para validar en console.log:
obtenerFeatureCollection();
});