This commit is contained in:
a-ill
2023-07-16 14:22:48 +03:00
parent 8d6fcd4667
commit f1defcd241
24 changed files with 40 additions and 24 deletions

View File

@@ -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") {

View File

@@ -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") {

View File

@@ -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") {

View File

@@ -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") {