Ajout de symboles, de soin, de drinks

This commit is contained in:
EpicKiwi 2026-07-03 01:38:39 +02:00
parent 672f093c08
commit cbab1d6eb3
Signed by: epickiwi
GPG key ID: C4B28FD2729941CE
8 changed files with 274 additions and 11 deletions

View file

@ -76,6 +76,18 @@ function getBaseSymbolForFeature(feature){
return STAGE_SYMBOL
}
if(feature.properties["bar"]){
return DRINKS_SYMBOL;
}
if(feature.properties["care"]){
return SOINSOIN_SYMBOL;
}
if(feature.properties["signaletique"]){
return SIGNALETIQUE_SYMBOL;
}
if(feature.properties["autogestion"] == "shifts"){
return SHIFTS_SYMBOL
}
@ -450,4 +462,48 @@ export const BRAZERO_SYMBOL = new MapSymbol()
"brazero",
"flamme"
]
}
export const SOINSOIN_SYMBOL = new MapSymbol()
{
SOINSOIN_SYMBOL.genericName = "Soin²"
SOINSOIN_SYMBOL.markerUrl = new URL("../icons/care.svg", import.meta.url)
SOINSOIN_SYMBOL.indexSynonyms = [
"care",
"awareness",
"soin",
"soin sécu",
"soin secu",
"soin-sécu",
"soin-secu"
]
}
export const SIGNALETIQUE_SYMBOL = new MapSymbol()
{
SIGNALETIQUE_SYMBOL.genericName = "Signalétique"
SIGNALETIQUE_SYMBOL.markerUrl = new URL("../icons/signaletik.svg", import.meta.url)
SIGNALETIQUE_SYMBOL.indexSynonyms = [
"paneau",
"gaffer",
"scotch",
"posca",
"peinture",
"signaletik",
"signaletique"
]
}
export const DRINKS_SYMBOL = new MapSymbol()
{
DRINKS_SYMBOL.genericName = "Boissons"
DRINKS_SYMBOL.markerUrl = new URL("../icons/drinks.svg", import.meta.url)
DRINKS_SYMBOL.indexSynonyms = [
"tireuses",
"boissons",
"bière",
"softs",
"kefir",
"maté"
]
}