Update
This commit is contained in:
@@ -42,7 +42,7 @@ export let communesMarkersLayer = L.layerGroup()
|
||||
export function addMarkersCommunes(map,content) {
|
||||
for (let g of communes) {
|
||||
let coordinates
|
||||
let text = "<b>Commune</b><br>"
|
||||
let text = "<b>"+content["Commune"]+"</b><br>"
|
||||
for (let field in g) {
|
||||
let fieldText = content[field] + ": "
|
||||
if (field=="contact") {
|
||||
|
@@ -39,7 +39,7 @@ export let coopsMarkersLayer = L.layerGroup()
|
||||
export function addMarkersCoops(map,content) {
|
||||
for (let g of coops) {
|
||||
let coordinates
|
||||
let text = "<b>Cooperative</b><br>"
|
||||
let text = "<b>"+content["Cooperative"]+"</b><br>"
|
||||
for (let field in g) {
|
||||
let fieldText
|
||||
if (field!="logo") {
|
||||
|
@@ -60,7 +60,7 @@ let contactGeneral =["https://discord.gg/4BUau4AZre","DiscordInviteLink"]
|
||||
|
||||
function addMarkersToLayer(g,layer,content) {
|
||||
let coordinates
|
||||
let text = "<b>Group</b><br>"
|
||||
let text = "<b>"+content["Group"]+"</b><br>"
|
||||
for (let field in g) {
|
||||
let fieldText = content[field] + ": "
|
||||
if (field=="contact") {
|
||||
|
@@ -25,7 +25,7 @@ export let partiesMarkersLayer = L.layerGroup()
|
||||
export function addMarkersParties(map,content) {
|
||||
for (let g of parties) {
|
||||
let coordinates
|
||||
let text = "<b>Party</b><br>"
|
||||
let text = "<b>"+content["Party"]+"</b><br>"
|
||||
for (let field in g) {
|
||||
let fieldText
|
||||
if (field!="logo") {
|
||||
|
Reference in New Issue
Block a user