From bc90a389dd02dd14ca4db8780eadade5c2a843c4 Mon Sep 17 00:00:00 2001 From: sstent Date: Mon, 3 Jun 2024 13:16:52 -0400 Subject: [PATCH] Update index.html kml only --- index.html | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/index.html b/index.html index 704cbdc6ee..79bab6396f 100644 --- a/index.html +++ b/index.html @@ -77,23 +77,7 @@ } })).addTo(map); - // GPX URL - Change 'croton.gpx' to the filename of your GPX file - var gpxUrl = 'croton.gpx'; - // Load the GPX file - new L.GPX(gpxUrl, { - async: true, - marker_options: { - startIconUrl: 'https://leafletjs.com/docs/images/marker-icon.png', - endIconUrl: 'https://leafletjs.com/docs/images/marker-icon.png', - shadowUrl: 'https://leafletjs.com/docs/images/marker-shadow.png' - } - }).addTo(map); - - // Optionally, handle any errors - new L.GPX(gpxUrl).on('error', function(error) { - console.error('Failed to load GPX:', error); - });