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",
|
||||
"de": "Stellplatz",
|
||||
"nl": "Parkeerplek"
|
||||
}
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "parking_space=disabled",
|
||||
"then": {
|
||||
"en": "Disabled Parking Space",
|
||||
"nl": "Parkeerplek voor gehandicapten"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"mapRendering": [
|
||||
{
|
||||
|
|
|
@ -181,7 +181,20 @@
|
|||
"mapRendering": [
|
||||
{
|
||||
"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"
|
||||
|
@ -199,9 +212,19 @@
|
|||
{
|
||||
"icon": {
|
||||
"mappings": null
|
||||
}
|
||||
},
|
||||
"iconSize": "30,30,center",
|
||||
"iconBadges": [
|
||||
{
|
||||
"if": "parking_space=disabled",
|
||||
"then": "./assets/layers/toilet/wheelchair.svg"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
],
|
||||
"name": {
|
||||
"en": "Disabled parking spaces"
|
||||
}
|
||||
},
|
||||
"hideTagRenderingsWithLabels": [
|
||||
"type",
|
||||
|
|
Loading…
Reference in a new issue