mirror of
https://github.com/sstent/StuTracker.git
synced 2026-01-26 02:22:01 +00:00
Update index.html
This commit is contained in:
@@ -41,10 +41,10 @@
|
||||
}).addTo(map);
|
||||
|
||||
// Load the KML file
|
||||
omnivore.kml('https://share.garmin.com/Feed/Share/NDB92').addTo(map);
|
||||
omnivore.kml('https://share.garmin.com/Feed/ShareLoader/NDB92').addTo(map);
|
||||
|
||||
// Optionally, handle any errors (omnivore doesn't have built-in error handling)
|
||||
omnivore.kml('https://share.garmin.com/Feed/Share/NDB92').on('ready', function() {
|
||||
omnivore.kml('https://share.garmin.com/Feed/ShareLoader/NDB92').on('ready', function() {
|
||||
console.log('KML loaded successfully');
|
||||
}).on('error', function() {
|
||||
alert('Failed to load KML');
|
||||
|
||||
Reference in New Issue
Block a user