mirror of
https://github.com/sstent/StuTracker.git
synced 2026-02-08 13:01:34 +00:00
Update index.html
This commit is contained in:
@@ -41,10 +41,10 @@
|
|||||||
}).addTo(map);
|
}).addTo(map);
|
||||||
|
|
||||||
// Load the KML file
|
// 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)
|
// 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');
|
console.log('KML loaded successfully');
|
||||||
}).on('error', function() {
|
}).on('error', function() {
|
||||||
alert('Failed to load KML');
|
alert('Failed to load KML');
|
||||||
|
|||||||
Reference in New Issue
Block a user