Fix broken URL for OpenStreetMap (K6YK via SOTAData3)

pull/27/head
Andrew Ryan 2025-04-23 16:04:27 +10:00
rodzic bc7118d52e
commit 39743303f7
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -424,7 +424,7 @@ export default {
{
name: 'OpenStreetMap',
url: () => {
return `https://www.openstreetmap.org/?mlat=${this.latitude}&mlon=${this.longitude}&zoom=16`
return `https://www.openstreetmap.org/#map=16/${this.latitude}/${this.longitude}`
}
},
{

Wyświetl plik

@ -396,7 +396,7 @@ export default {
if (summitCode.match(/^HB0?\//)) {
return 'https://map.geo.admin.ch/?swisssearch=' + latitude + ',' + longitude
} else {
return 'https://www.openstreetmap.org/?mlat=' + latitude + '&mlon=' + longitude + '&zoom=14'
return 'https://www.openstreetmap.org/#map=14/' + latitude + '/' + longitude + ''
}
},
updateMapURL () {