forked from MapComplete/MapComplete
Speedup loading of opening hours; add slope measurements to stairs
This commit is contained in:
parent
3cf6ebbb69
commit
d8c22ca6be
4 changed files with 259 additions and 134 deletions
|
@ -289,6 +289,35 @@
|
|||
}
|
||||
],
|
||||
"condition": "conveying!=yes"
|
||||
},
|
||||
{
|
||||
"id": "incline",
|
||||
"render": {
|
||||
"en": "These stairs have an incline of {incline}"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "incline",
|
||||
"type": "slope"
|
||||
},
|
||||
"question": {
|
||||
"en": "What is the incline of these stairs?"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "incline=up",
|
||||
"then": {
|
||||
"en": "The upward direction is {direction_absolute()}"
|
||||
},
|
||||
"hideInAnswer": true
|
||||
},
|
||||
{
|
||||
"if": "incline=down",
|
||||
"then": {
|
||||
"en": "The downward direction is {direction_absolute()}"
|
||||
},
|
||||
"hideInAnswer": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue