This commit is contained in:
a-ill 2023-07-16 16:58:02 +03:00
parent 22cace06fd
commit 9bfa4b62f6
2 changed files with 4 additions and 2 deletions

View File

@ -41,7 +41,8 @@ export function addMarkersParties(map,content) {
text += fieldText + "<a href='" + g.website + "' target='_blank' rel=noreferrer>" + g.website + "</a>" + "<br>"
}
else if (field=="location") {
let locationString = location.map(x => content[x]).join(", ")
let location = g[field][0]
let locationString = location
text += fieldText + locationString + "<br>"
coordinates = g[field][1]
}

View File

@ -41,7 +41,8 @@ export function addMarkersParties(map,content) {
text += fieldText + "<a href='" + g.website + "' target='_blank' rel=noreferrer>" + g.website + "</a>" + "<br>"
}
else if (field=="location") {
let locationString = location.map(x => content[x]).join(", ")
let location = g[field][0]
let locationString = location
text += fieldText + locationString + "<br>"
coordinates = g[field][1]
}