mirror of
https://github.com/sstent/StuTracker.git
synced 2026-01-26 18:42:30 +00:00
Update index.html
This commit is contained in:
@@ -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));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user