forked from MapComplete/MapComplete
Adds conditional render of carriage width question
This commit is contained in:
parent
18753a3548
commit
b9aa1435cc
1 changed files with 8 additions and 1 deletions
|
@ -321,13 +321,20 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"condition": {
|
||||||
|
"or": [
|
||||||
|
"cycleway=shared_lane",
|
||||||
|
"cycleway="
|
||||||
|
]
|
||||||
|
},
|
||||||
"render": {
|
"render": {
|
||||||
"en": "The carriage width of this road is <strong>{width:carriageway}m</strong>",
|
"en": "The carriage width of this road is <strong>{width:carriageway}m</strong>",
|
||||||
"nl": "De breedte van deze rijbaan in deze straat is <strong>{width:carriageway}m</strong>"
|
"nl": "De breedte van deze rijbaan in deze straat is <strong>{width:carriageway}m</strong>"
|
||||||
},
|
},
|
||||||
"freeform": {
|
"freeform": {
|
||||||
"key": "width:carriageway",
|
"key": "width:carriageway",
|
||||||
"addExtraTags": []
|
"addExtraTags": [],
|
||||||
|
"type": "pfloat"
|
||||||
},
|
},
|
||||||
"question": {
|
"question": {
|
||||||
"en": "What is the carriage width of this road (in meters)?",
|
"en": "What is the carriage width of this road (in meters)?",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue