kopia lustrzana https://github.com/manuelkasper/sotlas-frontend
Fix broken URL for OpenStreetMap (K6YK via SOTAData3)
rodzic
bc7118d52e
commit
39743303f7
|
@ -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}`
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
@ -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 () {
|
||||
|
|
Ładowanie…
Reference in New Issue