forked from MapComplete/MapComplete
UX: add 'show nearby picture' in new point popup
This commit is contained in:
parent
d56cf56511
commit
dad9bb1349
8 changed files with 37 additions and 24 deletions
|
@ -188,7 +188,7 @@
|
|||
"tagRenderings": [
|
||||
{
|
||||
"id": "add_new",
|
||||
"classes": "h-full flex special-add-new-point",
|
||||
"classes": "max-h-leave-room special-add-new-point flex-1",
|
||||
"condition": "has_presets=yes",
|
||||
"render": {
|
||||
"*": "{add_new_point()}"
|
||||
|
@ -196,11 +196,19 @@
|
|||
},
|
||||
{
|
||||
"id": "add_note",
|
||||
"classes": "flex-1",
|
||||
"condition": "has_note_layer=yes",
|
||||
"render": {
|
||||
"*": "{open_note()}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "nearby_images",
|
||||
"classes": "w-fit self-end",
|
||||
"render": {
|
||||
"*": "{nearby_images(,true)}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "debug",
|
||||
"metacondition": "__featureSwitchIsDebugging=true",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue