Update map embed and redirect functionality

This commit is contained in:
Daniel LaForce 2024-08-02 11:23:20 -06:00
parent fa1c71b4da
commit a450527121
3 changed files with 5 additions and 9 deletions

View File

@ -38,7 +38,7 @@
</script> </script>
</head> </head>
<body> <body>
<iframe src="https://www.google.com/maps/d/u/0/viewer?mid=1uaJCMW64w_zwERr9nFcVJchrZdocNbA&ll=39.03554998301922%2C-105.29915470303165&z=14"></iframe> <iframe src="https://www.google.com/maps/d/embed?mid=1uaJCMW64w_zwERr9nFcVJchrZdocNbA&ll=39.03554998301922,-105.29915470303165&z=14"></iframe>
<iframe src="https://www.gaiagps.com/map/?lat=39.03966489533956&lon=-105.32945964046155&zoom=14&loc=14.0/-105.3120/39.0318&pubLink=VVXcZPvEfvAbvRWi5F0DQPNT&folderId=e810350b-1b3f-49bf-8f67-6a497827f190"></iframe> <iframe src="https://www.gaiagps.com/map/?lat=39.03966489533956&lon=-105.32945964046155&zoom=14&loc=14.0/-105.3120/39.0318&pubLink=VVXcZPvEfvAbvRWi5F0DQPNT&folderId=e810350b-1b3f-49bf-8f67-6a497827f190"></iframe>
<div class="buttons"> <div class="buttons">
<button onclick="navigateToMap('google')">View on Google Maps</button> <button onclick="navigateToMap('google')">View on Google Maps</button>
@ -47,9 +47,9 @@
<script> <script>
function navigateToMap(map) { function navigateToMap(map) {
if (map === 'google') { if (map === 'google') {
window.location.href = '/redirect-google'; window.location.href = 'redirect-google.html';
} else if (map === 'gaia') { } else if (map === 'gaia') {
window.location.href = '/redirect-gaia'; window.location.href = 'redirect-gaia.html';
} }
} }
</script> </script>

View File

@ -4,9 +4,7 @@
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Redirecting...</title> <title>Redirecting...</title>
<script> <meta http-equiv="refresh" content="0;url=https://www.gaiagps.com/map/?lat=39.03966489533956&lon=-105.32945964046155&zoom=14&loc=14.0/-105.3120/39.0318&pubLink=VVXcZPvEfvAbvRWi5F0DQPNT&folderId=e810350b-1b3f-49bf-8f67-6a497827f190">
window.location.href = 'https://www.gaiagps.com/map/?lat=39.03966489533956&lon=-105.32945964046155&zoom=14&loc=14.0/-105.3120/39.0318&pubLink=VVXcZPvEfvAbvRWi5F0DQPNT&folderId=e810350b-1b3f-49bf-8f67-6a497827f190';
</script>
</head> </head>
<body> <body>
<p>Redirecting to Gaia GPS...</p> <p>Redirecting to Gaia GPS...</p>

View File

@ -4,9 +4,7 @@
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Redirecting...</title> <title>Redirecting...</title>
<script> <meta http-equiv="refresh" content="0;url=https://www.google.com/maps/d/u/0/viewer?mid=1uaJCMW64w_zwERr9nFcVJchrZdocNbA&ll=39.03554998301922,-105.29915470303165&z=14">
window.location.href = 'https://www.google.com/maps/d/u/0/viewer?mid=1uaJCMW64w_zwERr9nFcVJchrZdocNbA&ll=39.03554998301922%2C-105.29915470303165&z=14';
</script>
</head> </head>
<body> <body>
<p>Redirecting to Google Maps...</p> <p>Redirecting to Google Maps...</p>