Themes: add proper 'image along way' possibility
This commit is contained in:
parent
29f8e08509
commit
584fb3cb57
17 changed files with 259 additions and 70 deletions
|
@ -134,6 +134,27 @@
|
|||
}
|
||||
},
|
||||
"opening_hours",
|
||||
{
|
||||
"id": "oneway",
|
||||
"question": {
|
||||
"en": "In what direction can this aerialway be taken?"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "oneway=yes",
|
||||
"alsoShowIf": "oneway=",
|
||||
"then": {
|
||||
"en": "This aerialway can only be taken to the top"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "oneway=no",
|
||||
"then": {
|
||||
"en": "This aerialway can be taken in both directions"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "length",
|
||||
"render": {
|
||||
|
@ -144,7 +165,20 @@
|
|||
"lineRendering": [
|
||||
{
|
||||
"width": "4",
|
||||
"color": "black"
|
||||
"color": "black",
|
||||
"imageAlongWay": [ {
|
||||
"if": "oneway=no",
|
||||
"then": "./assets/png/twoway.png"
|
||||
},{
|
||||
"if": {
|
||||
"or": [
|
||||
"oneway=yes",
|
||||
"oneway="
|
||||
]
|
||||
},
|
||||
"then": "./assets/png/oneway.png"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"id": "aerialway",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue