Ajout de la radio
This commit is contained in:
parent
d071ebbb1b
commit
377cb4810f
3 changed files with 103 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue