Ajout de la radio
This commit is contained in:
parent
d071ebbb1b
commit
377cb4810f
3 changed files with 103 additions and 1 deletions
|
|
@ -9,6 +9,7 @@
|
||||||
{ "type": "Feature", "properties": { "name": "Loges soin² ♡", "autogestion": "care", "schedule": false, "show-on-empty-map": true, "signaletique": false, "care": true, "description": "" }, "geometry": { "type": "Point", "coordinates": [ -2.092301748874837, 47.541977698301473 ] } },
|
{ "type": "Feature", "properties": { "name": "Loges soin² ♡", "autogestion": "care", "schedule": false, "show-on-empty-map": true, "signaletique": false, "care": true, "description": "" }, "geometry": { "type": "Point", "coordinates": [ -2.092301748874837, 47.541977698301473 ] } },
|
||||||
{ "type": "Feature", "properties": { "name": "Liste de courses", "autogestion": "groceries", "schedule": false, "show-on-empty-map": false, "signaletique": false, "care": false, "description": null }, "geometry": { "type": "Point", "coordinates": [ -2.091776048044959, 47.541809359653456 ] } },
|
{ "type": "Feature", "properties": { "name": "Liste de courses", "autogestion": "groceries", "schedule": false, "show-on-empty-map": false, "signaletique": false, "care": false, "description": null }, "geometry": { "type": "Point", "coordinates": [ -2.091776048044959, 47.541809359653456 ] } },
|
||||||
{ "type": "Feature", "properties": { "name": "Vaguement référent·es", "autogestion": "peoples", "schedule": false, "show-on-empty-map": false, "signaletique": false, "care": false, "description": "Tableau de référents et référentes" }, "geometry": { "type": "Point", "coordinates": [ -2.091779675891507, 47.541796415015945 ] } },
|
{ "type": "Feature", "properties": { "name": "Vaguement référent·es", "autogestion": "peoples", "schedule": false, "show-on-empty-map": false, "signaletique": false, "care": false, "description": "Tableau de référents et référentes" }, "geometry": { "type": "Point", "coordinates": [ -2.091779675891507, 47.541796415015945 ] } },
|
||||||
{ "type": "Feature", "properties": { "name": "Covoititine", "autogestion": "covoiturage", "schedule": false, "show-on-empty-map": false, "signaletique": false, "care": false, "description": "Demande et offres de covoiturage" }, "geometry": { "type": "Point", "coordinates": [ -2.091782267210469, 47.541783120520059 ] } }
|
{ "type": "Feature", "properties": { "name": "Covoititine", "autogestion": "covoiturage", "schedule": false, "show-on-empty-map": false, "signaletique": false, "care": false, "description": "Demande et offres de covoiturage" }, "geometry": { "type": "Point", "coordinates": [ -2.091782267210469, 47.541783120520059 ] } },
|
||||||
|
{ "type": "Feature", "properties": { "name": "Radio camp 91.8 FM", "autogestion": "radio", "schedule": false, "show-on-empty-map": true, "signaletique": false, "care": false, "description": "La radio du camp interhack diffuse de la musique, des annonces de services, des ateliers et plein d'autres éxpérimentations radiophoniques.\n91.8 FM sur tous les postes de radio du camp et en direct sur le site internet." }, "geometry": { "type": "Point", "coordinates": [ -2.091931843250831, 47.541763147026316 ] } }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
86
icons/radio.svg
Normal file
86
icons/radio.svg
Normal file
|
|
@ -0,0 +1,86 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||||
|
|
||||||
|
<svg
|
||||||
|
width="32"
|
||||||
|
height="32"
|
||||||
|
viewBox="0 0 32 32"
|
||||||
|
version="1.1"
|
||||||
|
id="svg1"
|
||||||
|
xml:space="preserve"
|
||||||
|
inkscape:version="1.4 (e7c3feb100, 2024-10-09)"
|
||||||
|
sodipodi:docname="radio.svg"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"><sodipodi:namedview
|
||||||
|
id="namedview1"
|
||||||
|
pagecolor="#505050"
|
||||||
|
bordercolor="#ffffff"
|
||||||
|
borderopacity="1"
|
||||||
|
inkscape:showpageshadow="0"
|
||||||
|
inkscape:pageopacity="0"
|
||||||
|
inkscape:pagecheckerboard="1"
|
||||||
|
inkscape:deskcolor="#505050"
|
||||||
|
inkscape:document-units="px"
|
||||||
|
inkscape:zoom="20.819152"
|
||||||
|
inkscape:cx="13.929482"
|
||||||
|
inkscape:cy="12.200305"
|
||||||
|
inkscape:window-width="1714"
|
||||||
|
inkscape:window-height="1081"
|
||||||
|
inkscape:window-x="0"
|
||||||
|
inkscape:window-y="0"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
inkscape:current-layer="layer1" /><defs
|
||||||
|
id="defs1" /><g
|
||||||
|
inkscape:label="Calque 1"
|
||||||
|
inkscape:groupmode="layer"
|
||||||
|
id="layer1"><rect
|
||||||
|
style="fill:#000000;fill-opacity:1;stroke:none;stroke-width:4.93195;stroke-opacity:1"
|
||||||
|
id="rect3"
|
||||||
|
width="24.225895"
|
||||||
|
height="32"
|
||||||
|
x="3.8870773"
|
||||||
|
y="-0.041903432" /><rect
|
||||||
|
style="fill:#000000;fill-opacity:1;stroke:none;stroke-width:5.00771;stroke-opacity:1"
|
||||||
|
id="rect3-5"
|
||||||
|
width="31.999977"
|
||||||
|
height="24.975895"
|
||||||
|
x="2.2888184e-05"
|
||||||
|
y="3.470149" /><rect
|
||||||
|
style="fill:#00be9e;fill-opacity:1;stroke:none;stroke-width:2;stroke-dasharray:none;stroke-opacity:1;paint-order:stroke fill markers"
|
||||||
|
id="rect2"
|
||||||
|
width="22.600895"
|
||||||
|
height="22.600895"
|
||||||
|
x="4.6995773"
|
||||||
|
y="4.657649" /><g
|
||||||
|
id="g3"
|
||||||
|
transform="matrix(0.88609857,0,0,0.88609857,2.7085245,1.8133809)"><g
|
||||||
|
id="g2"
|
||||||
|
transform="translate(1.938558,-0.60755702)"><path
|
||||||
|
style="fill:none;stroke:#ffffff;stroke-width:0.81242;stroke-linecap:square;stroke-linejoin:bevel;stroke-opacity:1;paint-order:markers fill stroke"
|
||||||
|
d="m 14.675357,11.794091 2.068516,2.285481 0.628304,2.506431 -0.599833,2.764935 -2.022999,2.089857"
|
||||||
|
id="path2"
|
||||||
|
sodipodi:nodetypes="ccccc" /><path
|
||||||
|
style="fill:none;stroke:#ffffff;stroke-width:1.02932;stroke-linecap:square;stroke-linejoin:bevel;stroke-opacity:1;paint-order:markers fill stroke"
|
||||||
|
d="m 16.556217,10.506289 2.62076,2.895649 0.796046,3.175586 -0.759974,3.503106 -2.563091,2.647797"
|
||||||
|
id="path2-2"
|
||||||
|
sodipodi:nodetypes="ccccc" /><path
|
||||||
|
style="fill:none;stroke:#ffffff;stroke-width:1.33298;stroke-linecap:square;stroke-linejoin:bevel;stroke-opacity:1;paint-order:markers fill stroke"
|
||||||
|
d="m 18.937129,8.7033668 3.3939,3.7498832 1.030885,4.112404 -0.984171,4.536544 -3.319219,3.428914"
|
||||||
|
id="path2-2-7"
|
||||||
|
sodipodi:nodetypes="ccccc" /></g><g
|
||||||
|
id="g2-6"
|
||||||
|
transform="matrix(-1,0,0,1,28.061491,-0.60755702)"><path
|
||||||
|
style="fill:none;stroke:#ffffff;stroke-width:0.81242;stroke-linecap:square;stroke-linejoin:bevel;stroke-opacity:1;paint-order:markers fill stroke"
|
||||||
|
d="m 14.675357,11.794091 2.068516,2.285481 0.628304,2.506431 -0.599833,2.764935 -2.022999,2.089857"
|
||||||
|
id="path2-0"
|
||||||
|
sodipodi:nodetypes="ccccc" /><path
|
||||||
|
style="fill:none;stroke:#ffffff;stroke-width:1.02932;stroke-linecap:square;stroke-linejoin:bevel;stroke-opacity:1;paint-order:markers fill stroke"
|
||||||
|
d="m 16.556217,10.506289 2.62076,2.895649 0.796046,3.175586 -0.759974,3.503106 -2.563091,2.647797"
|
||||||
|
id="path2-2-6"
|
||||||
|
sodipodi:nodetypes="ccccc" /><path
|
||||||
|
style="fill:none;stroke:#ffffff;stroke-width:1.33298;stroke-linecap:square;stroke-linejoin:bevel;stroke-opacity:1;paint-order:markers fill stroke"
|
||||||
|
d="m 18.937129,8.7033668 3.3939,3.7498832 1.030885,4.112404 -0.984171,4.536544 -3.319219,3.428914"
|
||||||
|
id="path2-2-7-2"
|
||||||
|
sodipodi:nodetypes="ccccc" /></g></g></g></svg>
|
||||||
|
After Width: | Height: | Size: 4.1 KiB |
|
|
@ -96,6 +96,10 @@ function getBaseSymbolForFeature(feature){
|
||||||
return SHIFTS_SYMBOL
|
return SHIFTS_SYMBOL
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(feature.properties["autogestion"] == "radio"){
|
||||||
|
return RADIO_SYMBOL
|
||||||
|
}
|
||||||
|
|
||||||
if(feature.properties["dons"]){
|
if(feature.properties["dons"]){
|
||||||
return MONEY_SYMBOL
|
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()
|
export const SCHEDULE_SYMBOL = new MapSymbol()
|
||||||
{
|
{
|
||||||
SCHEDULE_SYMBOL.genericName = "Programmation"
|
SCHEDULE_SYMBOL.genericName = "Programmation"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue