Update index.html

This commit is contained in:
2024-06-03 16:20:44 -04:00
committed by GitHub
parent d8f943d1f1
commit 6525be5b2d

View File

@@ -128,8 +128,8 @@
})).addTo(map); })).addTo(map);
// Adjust the map to fit the KML layer // Adjust the map to fit the KML layer
var bounds = kmlLayer.getBounds(); // var bounds = kmlLayer.getBounds();
map.fitBounds(bounds); // map.fitBounds(bounds);
}) })
.catch(error => console.error('Error fetching KML:', error)); .catch(error => console.error('Error fetching KML:', error));