Fix variable substitutions

pull/13/head
Manuel Kasper 2021-03-27 21:17:57 +01:00
rodzic 8698c463a1
commit 78c4cc0ead
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -127,7 +127,7 @@ export default {
name: 'Geoportal (HR)',
url: () => {
if (this.latitude >= 42.396 && this.latitude <= 46.324 && this.longitude >= 13.789 && this.longitude <= 18.497) {
return `https://geoportal.dgu.hr/#/?lng={this.longitude}&lat=${this.latitude}&zoom=7`
return `https://geoportal.dgu.hr/#/?lng=${this.longitude}&lat=${this.latitude}&zoom=7`
}
return null
}
@ -154,7 +154,7 @@ export default {
name: 'TopoSvalbard',
url: () => {
if (this.latitude >= 74.117 && this.latitude <= 80.948 && this.longitude >= 7.338 && this.longitude <= 33.631) {
return `https://toposvalbard.npolar.no/?lat=${this.latitude}&long={this.longitude}&zoom=8&layer=map`
return `https://toposvalbard.npolar.no/?lat=${this.latitude}&long=${this.longitude}&zoom=8&layer=map`
}
return null
}
@ -163,7 +163,7 @@ export default {
name: 'TopoJanMayen',
url: () => {
if (this.latitude >= 70.795 && this.latitude <= 71.175 && this.longitude >= -9.253 && this.longitude <= -7.838) {
return `https://topojanmayen.npolar.no/?lat=${this.latitude}&long={this.longitude}&zoom=8&layer=map`
return `https://topojanmayen.npolar.no/?lat=${this.latitude}&long=${this.longitude}&zoom=8&layer=map`
}
return null
}