Add icons

This commit is contained in:
pietervdvn 2022-02-09 00:36:17 +01:00
parent 452bf39561
commit bcaa9d4ffa

View file

@ -109,16 +109,22 @@
], ],
"icon": { "icon": {
"render": "./assets/themes/toerisme_vlaanderen/cycle_pump.svg", "render": "./assets/themes/toerisme_vlaanderen/cycle_pump.svg",
"mappings":[ "mappings": [
{ {
"if": {"and": "if": {
["service:bicycle:tools=yes","service:bicycle:pump=yes"] "and": [
"service:bicycle:tools=yes",
"service:bicycle:pump=yes"
]
}, },
"then": "./assets/themes/toerisme_vlaanderen/cycle_repair_and_pump.svg" "then": "./assets/themes/toerisme_vlaanderen/cycle_repair_and_pump.svg"
}, },
{ {
"if": {"and": "if": {
["service:bicycle:tools=yes","service:bicycle:pump=no"] "and": [
"service:bicycle:tools=yes",
"service:bicycle:pump=no"
]
}, },
"then": "./assets/themes/toerisme_vlaanderen/cycle_repair.svg" "then": "./assets/themes/toerisme_vlaanderen/cycle_repair.svg"
} }
@ -133,7 +139,10 @@
} }
] ]
}, },
"hideTagRenderingsWithLabels": ["operator-info","bike_repair_station-valves"] "hideTagRenderingsWithLabels": [
"operator-info",
"bike_repair_station-valves"
]
}, },
{ {
"builtin": [ "builtin": [
@ -168,7 +177,7 @@
"socket:typee=1" "socket:typee=1"
], ],
"title": { "title": {
"nl": "laadpunt met gewone stekker(s) <img src='./assets/layers/charging_station/TypeE.svg' style='width: 2rem; height: 2rem; float: left; background: white; border-radius: 1rem; margin-right: 0.5rem'/> (bedoeld om electrische fietsen op te laden)" "nl": "laadpunt voor elektrische fietsen met gewone stekkers"
}, },
"preciseInput": { "preciseInput": {
"preferredBackground": "map" "preferredBackground": "map"