mapcomplete/assets/layers/bank/bank.json

80 lines
No EOL
1.7 KiB
JSON

{
"id": "bank",
"description": {
"en": "A financial institution to deposit money",
"de": "Ein Finanzinstitut, um Geld einzuzahlen",
"nl": "Een financiële instelling waar je geld kunt"
},
"name": {
"en": "Banks",
"de": "Banken"
},
"title": {
"render": "Bank",
"mappings": [
{
"if": "name~*",
"then": "{name}"
}
]
},
"source": {
"osmTags": "amenity=bank"
},
"mapRendering": [
{
"icon": "circle:white;./assets/layers/bank/bank.svg",
"location": [
"point",
"centroid"
]
}
],
"tagRenderings": [
{
"id": "has_atm",
"question": {
"en": "Does this bank have an ATM?",
"de": "Hat diese Bank einen Geldautomaten?"
},
"mappings": [
{
"if": "atm=yes",
"then": {
"en": "This bank has an ATM",
"de": "Diese Bank hat einen Geldautomaten"
}
},
{
"if": "atm=no",
"then": {
"en": "This bank does <b>not</b> have an ATM",
"de": "Diese Bank hat <b>keinen</b> Geldautomaten"
}
},
{
"if": "atm=separate",
"then": {
"en": "This bank does have an ATM, but it is mapped as a different icon",
"de": "Diese Bank hat zwar einen Geldautomaten, aber dieser ist mit einem anderen Symbol dargestellt"
}
}
]
}
],
"filter": [
"open_now",
{
"id": "has_atm",
"options": [
{
"question": {
"en": "With an ATM",
"de": "Mit einem Geldautomaten"
},
"osmTags": "atm=yes"
}
]
}
]
}