mapcomplete/assets/layers/elevator/elevator.json

105 lines
2 KiB
JSON
Raw Normal View History

2022-07-18 15:11:06 +02:00
{
"id": "elevator",
"name": {
"en": "elevator"
},
"source": {
"osmTags": "elevator=yes"
},
"minzoom": 13,
2022-07-18 17:04:55 +02:00
"tagRenderings": [
2022-07-19 12:20:57 +02:00
"images",
{
"id": "door-width",
"render": {
2022-07-19 12:26:41 +02:00
"en": "This elevator's doors have a width of {canonical(door:width) }"
2022-07-19 12:20:57 +02:00
},
"question": {
"en": "What is the width of this elevator's entrance?"
},
"freeform": {
"key": "door:width",
"type": "pfloat"
}
},
{
"id": "elevator-width",
"render": {
2022-07-19 12:26:41 +02:00
"en": "This elevator has a width of {canonical(elevator:width) }"
2022-07-19 12:20:57 +02:00
},
"question": {
"en": "What is the width of this elevator?"
},
"freeform": {
"key": "elevator:width",
"type": "pfloat"
}
},
{
"id": "elevator-depth",
"render": {
2022-07-19 12:26:41 +02:00
"en": "This elevator has a depth of {canonical(elevator:depth) }"
2022-07-19 12:20:57 +02:00
},
"question": {
"en": "What is the depth of this elevator?"
},
"freeform": {
"key": "elevator:depth",
"type": "pfloat"
}
}
2022-07-18 17:04:55 +02:00
],
2022-07-18 15:11:06 +02:00
"mapRendering": [
2022-07-19 12:20:57 +02:00
{
"icon": {
"render": "./assets/layers/elevator/elevator_wheelchair.svg"
},
"iconSize": "40,40,bottom",
"location": [
"point",
"centroid"
]
}
2022-07-19 12:57:14 +02:00
],
"presets": [
{
"title": {
"en": "an elevator",
"nl": "een lift"
},
"tags": [
"elevator=yes"
]
}
],
"units": [
{
"appliesToKey": [
"door:width",
"elevator:width",
"elevator:depth"
],
"applicableUnits": [
{
"canonicalDenomination": "m",
"alternativeDenomination": [
"meter"
],
"human": {
"en": "meter"
}
},
{
"canonicalDenomination": "cm",
"alternativeDenomination": [
"centimeter",
"cms"
],
"human": {
"en": "centimeter"
}
}
]
}
2022-07-18 15:11:06 +02:00
]
}