Ajout de la radio

This commit is contained in:
EpicKiwi 2026-07-03 19:02:17 +02:00
parent d071ebbb1b
commit 377cb4810f
Signed by: epickiwi
GPG key ID: C4B28FD2729941CE
3 changed files with 103 additions and 1 deletions

View file

@ -96,6 +96,10 @@ function getBaseSymbolForFeature(feature){
return SHIFTS_SYMBOL
}
if(feature.properties["autogestion"] == "radio"){
return RADIO_SYMBOL
}
if(feature.properties["dons"]){
return MONEY_SYMBOL
}
@ -446,6 +450,17 @@ export const SHIFTS_SYMBOL = new MapSymbol()
]
}
export const RADIO_SYMBOL = new MapSymbol()
{
RADIO_SYMBOL.genericName = "Radio"
RADIO_SYMBOL.markerUrl = new URL("../icons/radio.svg", import.meta.url)
RADIO_SYMBOL.indexSynonyms = [
"radio",
"fm",
"91.8",
]
}
export const SCHEDULE_SYMBOL = new MapSymbol()
{
SCHEDULE_SYMBOL.genericName = "Programmation"