kopia lustrzana https://github.com/manuelkasper/sotlas-frontend
Merge pull request #27 from vk3arr/master
Fix broken URL for OpenStreetMap (K6YK via SOTAData3)beta
commit
3cb50d6e8b
|
@ -424,7 +424,7 @@ export default {
|
||||||
{
|
{
|
||||||
name: 'OpenStreetMap',
|
name: 'OpenStreetMap',
|
||||||
url: () => {
|
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?\//)) {
|
if (summitCode.match(/^HB0?\//)) {
|
||||||
return 'https://map.geo.admin.ch/?swisssearch=' + latitude + ',' + longitude
|
return 'https://map.geo.admin.ch/?swisssearch=' + latitude + ',' + longitude
|
||||||
} else {
|
} else {
|
||||||
return 'https://www.openstreetmap.org/?mlat=' + latitude + '&mlon=' + longitude + '&zoom=14'
|
return 'https://www.openstreetmap.org/#map=14/' + latitude + '/' + longitude + ''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
updateMapURL () {
|
updateMapURL () {
|
||||||
|
|
Ładowanie…
Reference in New Issue