forked from MapComplete/MapComplete
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:
parent
2c21e125d9
commit
bb140025bf
5 changed files with 148 additions and 39 deletions
|
@ -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 @@
|
|||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue