forked from MapComplete/MapComplete
Merge pull request #1196 from pietervdvn/RobinLinde-patch-2
More tweaks to OnWheels parking
This commit is contained in:
commit
53addb2518
2 changed files with 36 additions and 4 deletions
|
@ -171,7 +171,16 @@
|
||||||
"en": "Parking Space",
|
"en": "Parking Space",
|
||||||
"de": "Stellplatz",
|
"de": "Stellplatz",
|
||||||
"nl": "Parkeerplek"
|
"nl": "Parkeerplek"
|
||||||
}
|
},
|
||||||
|
"mappings": [
|
||||||
|
{
|
||||||
|
"if": "parking_space=disabled",
|
||||||
|
"then": {
|
||||||
|
"en": "Disabled Parking Space",
|
||||||
|
"nl": "Parkeerplek voor gehandicapten"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"mapRendering": [
|
"mapRendering": [
|
||||||
{
|
{
|
||||||
|
|
|
@ -181,7 +181,20 @@
|
||||||
"mapRendering": [
|
"mapRendering": [
|
||||||
{
|
{
|
||||||
"icon": "./assets/themes/onwheels/parking.svg",
|
"icon": "./assets/themes/onwheels/parking.svg",
|
||||||
"iconSize": "40,40,bottom"
|
"iconSize": {
|
||||||
|
"render": "20,20,bottom",
|
||||||
|
"mappings": [
|
||||||
|
{
|
||||||
|
"if": {
|
||||||
|
"or": [
|
||||||
|
"capacity:disabled>0",
|
||||||
|
"capacity:disabled=yes"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"then": "40,40,bottom"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"color": "#225f92"
|
"color": "#225f92"
|
||||||
|
@ -199,9 +212,19 @@
|
||||||
{
|
{
|
||||||
"icon": {
|
"icon": {
|
||||||
"mappings": null
|
"mappings": null
|
||||||
}
|
},
|
||||||
|
"iconSize": "30,30,center",
|
||||||
|
"iconBadges": [
|
||||||
|
{
|
||||||
|
"if": "parking_space=disabled",
|
||||||
|
"then": "./assets/layers/toilet/wheelchair.svg"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
"name": {
|
||||||
|
"en": "Disabled parking spaces"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"hideTagRenderingsWithLabels": [
|
"hideTagRenderingsWithLabels": [
|
||||||
"type",
|
"type",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue