diff --git a/index.html b/index.html index 67d3590..9dfe1f7 100644 --- a/index.html +++ b/index.html @@ -1,3 +1,4 @@ + @@ -59,8 +60,8 @@

CSMS Claims and Neighbors

- - + +
View in Google Maps View in Gaia GPS @@ -87,10 +88,8 @@ document.getElementById('gaia-gps-link').addEventListener('click', function(event) { event.preventDefault(); const token = generateToken(16); - console.log('Generated token for Gaia GPS:', token); // Debug line localStorage.setItem('gaiaAccessToken', token); const url = `/redirect/gaia-gps?token=${token}`; - console.log('Redirecting to:', url); // Debug line gtag('event', 'click', { 'event_category': 'Outbound Link', 'event_label': 'Gaia GPS', @@ -102,10 +101,8 @@ document.getElementById('google-maps-link').addEventListener('click', function(event) { event.preventDefault(); const token = generateToken(16); - console.log('Generated token for Google Maps:', token); // Debug line localStorage.setItem('googleMapsAccessToken', token); const url = `/redirect/google-maps?token=${token}`; - console.log('Redirecting to:', url); // Debug line gtag('event', 'click', { 'event_category': 'Outbound Link', 'event_label': 'Google Maps', @@ -113,22 +110,6 @@ }); window.location.href = url; }); - - document.getElementById('google-maps-iframe').addEventListener('load', function() { - console.log('Google Maps iframe loaded successfully.'); - }); - - document.getElementById('gaia-gps-iframe').addEventListener('load', function() { - console.log('Gaia GPS iframe loaded successfully.'); - }); - - document.getElementById('google-maps-iframe').addEventListener('error', function() { - console.error('Error loading Google Maps iframe.'); - }); - - document.getElementById('gaia-gps-iframe').addEventListener('error', function() { - console.error('Error loading Gaia GPS iframe.'); - }); }); function acceptConsent() {