Update
This commit is contained in:
@@ -7,7 +7,7 @@ export let communes = [
|
||||
contact: ["https://discord.gg/Qk8KUk787z","DiscordInviteLink"]
|
||||
},
|
||||
{
|
||||
location: [["Denmark",""],[55.915625218626275, 9.673445220831253]],
|
||||
location: [["Denmark"],[55.915625218626275, 9.673445220831253]],
|
||||
status: "forming",
|
||||
members: 1,
|
||||
contact: ["https://discord.gg/Qk8KUk787z","DiscordInviteLink"]
|
||||
@@ -19,7 +19,7 @@ export let communes = [
|
||||
contact: ["https://discord.gg/Qk8KUk787z","DiscordInviteLink"]
|
||||
},
|
||||
{
|
||||
location: [["Latvia",""],[56.934159375258055, 25.269099001330265]],
|
||||
location: [["Latvia"],[56.934159375258055, 25.269099001330265]],
|
||||
status: "forming",
|
||||
members: 1,
|
||||
contact: ["https://discord.gg/Qk8KUk787z","DiscordInviteLink"]
|
||||
@@ -50,8 +50,8 @@ export function addMarkersCommunes(map,content) {
|
||||
}
|
||||
else if (field=="location") {
|
||||
let location = g[field][0]
|
||||
let town = location[1]=="" ? "" : ", " + content[location[1]]
|
||||
text += fieldText + content[location[0]] + town + "<br>"
|
||||
let locationString = location.map(x => content[x]).join(", ")
|
||||
text += fieldText + locationString + "<br>"
|
||||
coordinates = g[field][1]
|
||||
}
|
||||
else if (field=="status") {
|
||||
|
@@ -56,8 +56,8 @@ export function addMarkersCoops(map,content) {
|
||||
}
|
||||
else if (field=="location") {
|
||||
let location = g[field][0]
|
||||
let town = location[1]=="" ? "" : ", " + content[location[1]]
|
||||
text += fieldText + content[location[0]] + town + "<br>"
|
||||
let locationString = location.map(x => content[x]).join(", ")
|
||||
text += fieldText + locationString + "<br>"
|
||||
coordinates = g[field][1]
|
||||
}
|
||||
else if (field=="market" || field=="status" || field=="description") {
|
||||
|
@@ -30,7 +30,7 @@ export let groups = [
|
||||
contact: ["https://discord.gg/Qk8KUk787z","DiscordInviteLink"]
|
||||
},
|
||||
{
|
||||
location: [["Ireland",""], [53.280192832733576, -7.688103518964818]],
|
||||
location: [["Ireland"], [53.280192832733576, -7.688103518964818]],
|
||||
members: 6,
|
||||
contact: ["https://discord.gg/4BUau4AZre","DiscordInviteLink"]
|
||||
},
|
||||
@@ -39,6 +39,11 @@ export let groups = [
|
||||
members: 2,
|
||||
contact: ["https://discord.gg/Qk8KUk787z","DiscordInviteLink"]
|
||||
},
|
||||
{
|
||||
location: [["USA","Florida"], [26.945024427155868, -81.22162645059898]],
|
||||
members: 2,
|
||||
contact: ["https://discord.gg/Qk8KUk787z","DiscordInviteLink"]
|
||||
}
|
||||
]
|
||||
|
||||
export let groupsByCountry = {}
|
||||
@@ -68,8 +73,8 @@ function addMarkersToLayer(g,layer,content) {
|
||||
}
|
||||
else if (field=="location") {
|
||||
let location = g[field][0]
|
||||
let town = location[1]=="" ? "" : ", " + content[location[1]]
|
||||
text += fieldText + content[location[0]] + town + "<br>"
|
||||
let locationString = location.map(x => content[x]).join(", ")
|
||||
text += fieldText + locationString + "<br>"
|
||||
coordinates = g[field][1]
|
||||
}
|
||||
else {
|
||||
@@ -99,7 +104,7 @@ export function addMarkersGroups(map,content) {
|
||||
addMarkersToLayer(g,groupsMarkersLayerOut,content)
|
||||
}
|
||||
else {
|
||||
let locationName = [gs[0].location[0][0],""]
|
||||
let locationName = [gs[0].location[0][0]]
|
||||
let locationCoordinates = [0,0]
|
||||
let members = 0
|
||||
let contact = gs[0].contact
|
||||
|
@@ -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") {
|
||||
text += fieldText + content[g[field][0]] + "<br>"
|
||||
let locationString = location.map(x => content[x]).join(", ")
|
||||
text += fieldText + locationString + "<br>"
|
||||
coordinates = g[field][1]
|
||||
}
|
||||
else if (field=="description") {
|
||||
|
@@ -2,7 +2,7 @@ export let partners = [
|
||||
{
|
||||
name: "Gaia's Fall",
|
||||
type: "typeGaiasFall",
|
||||
location: [["Online",""],[0,0]],
|
||||
location: [["Online"],[0,0]],
|
||||
link: "https://discord.libsoc.org/invite/",
|
||||
description: "descriptionGaiasFall",
|
||||
logo: "gaias_fall"
|
||||
|
Reference in New Issue
Block a user