From 34da44ea16576bfbe58f31df487c9f0942442dc6 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Thu, 22 Dec 2022 01:19:21 +0100 Subject: [PATCH] Fix ATM theme, add some conditions --- assets/layers/atm/atm.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/assets/layers/atm/atm.json b/assets/layers/atm/atm.json index ff78ad729..04aa7e403 100644 --- a/assets/layers/atm/atm.json +++ b/assets/layers/atm/atm.json @@ -57,6 +57,19 @@ ], "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"