forked from MapComplete/MapComplete
Add QR-code to all popups, add direction indicator to popup and visual feedback, make reviews accessible to screenreaders (both to read them and to make them)
This commit is contained in:
parent
5567869bb4
commit
bfd818cb38
33 changed files with 415 additions and 98 deletions
|
@ -40,6 +40,30 @@
|
|||
"centroid"
|
||||
],
|
||||
"anchor": "center"
|
||||
},
|
||||
{
|
||||
"marker": [
|
||||
{
|
||||
"color": "--catch-detail-color",
|
||||
"icon": "direction"
|
||||
}
|
||||
],
|
||||
"iconSize": {
|
||||
"render": "0,0",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "alpha~*",
|
||||
"then": "40,40"
|
||||
}
|
||||
]
|
||||
},
|
||||
"pitchAlignment": "map",
|
||||
"rotation": "{alpha}deg",
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
],
|
||||
"anchor": "center"
|
||||
}
|
||||
],
|
||||
"lineRendering": []
|
||||
|
|
|
@ -302,6 +302,14 @@
|
|||
"condition": "_favourite=yes",
|
||||
"icon": "circle:white;heart:red",
|
||||
"metacondition": "__showTimeSensitiveIcons!=no"
|
||||
},
|
||||
{
|
||||
"id": "direction",
|
||||
"labels": [
|
||||
"defaults",
|
||||
"in_favourite"
|
||||
],
|
||||
"render": "{direction_indicator()}"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -366,7 +366,7 @@
|
|||
},
|
||||
"freeform": {
|
||||
"key": "min_age",
|
||||
"type": "pnat"
|
||||
"type": "nat"
|
||||
},
|
||||
"id": "playground-min_age"
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue