Add a very basic 'bank'-layer which only shows ATM-status, add banks with ATM to ATM-theme, make ATMs moveable and deletable; fix #1207

This commit is contained in:
Pieter Vander Vennet 2022-12-31 02:42:59 +01:00
parent 2c21e125d9
commit bb140025bf
5 changed files with 148 additions and 39 deletions

View file

@ -32,17 +32,7 @@
]
},
"source": {
"osmTags": {
"or": [
"amenity=atm",
{
"and": [
"amenity=bank",
"atm=yes"
]
}
]
}
"osmTags": "amenity=atm"
},
"minzoom": 13,
"presets": [
@ -59,25 +49,7 @@
}
],
"tagRenderings": [
{
"builtin": "images",
"override": {
"condition": "amenity!=bank"
}
},
{
"id": "bank-images",
"render": "{image_carousel()}",
"condition": "amenity=bank"
},
{
"id": "atm-in-bank-notice",
"condition": "amenity=bank",
"render": {
"en": "This ATM is located in or near a bank",
"de": "Dieser Geldautomat befindet sich in oder in der Nähe einer Bank"
}
},
"images",
{
"id": "name",
"render": {
@ -139,12 +111,7 @@
"nl": "Deze geldautomaat wordt beheerd door {operator}"
}
},
{
"builtin": "opening_hours",
"override": {
"condition": "amenity!=bank"
}
},
"opening_hours",
{
"id": "cash_out",
"question": {
@ -262,6 +229,18 @@
]
}
],
"allowMove": {
"enableImproveAccuracy": true,
"enableRelocation": false
},
"deletion": {
"softDeletionTags": {
"and": [
"disused:amenity=atm",
"amenity="
]
}
},
"filter": [
"open_now",
{
@ -277,4 +256,4 @@
]
}
]
}
}