Fix various small issues to the teams, add some more validation

This commit is contained in:
Pieter Vander Vennet 2022-07-20 22:57:39 +02:00
parent a4b51b63ca
commit f63f62922e
14 changed files with 65 additions and 12 deletions

View file

@ -7,6 +7,9 @@
"osmTags": "highway=elevator"
},
"minzoom": 13,
"description": {
"en": "This layer show elevators and asks for operational status and elevator dimensions. Useful for wheelchair accessibility information"
},
"title": {
"en": "Elevator"
},
@ -22,7 +25,15 @@
"if": "operational_status=broken",
"then": {
"en": "This elevator is broken"
}
},
"icon": "close:red"
},
{
"if": "operational_status=closed",
"then": {
"en": "This elevator is closed <span class='subtle'>e.g. because renovation works are going on</span>"
},
"icon": "invalid:red"
},
{
"if": "operational_status=ok",
@ -89,6 +100,17 @@
"location": [
"point",
"centroid"
],
"iconBadges": [
{
"if": {
"or": [
"operational_status=broken",
"operational_status=closed"
]
},
"then": "close:#c33"
}
]
}
],
@ -121,6 +143,7 @@
}
},
{
"default": true,
"canonicalDenomination": "cm",
"alternativeDenomination": [
"centimeter",