From cdb62dfe58f5a6264c17e9d88bb590ea3f984b09 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Sat, 14 Sep 2024 14:21:46 +0200 Subject: [PATCH] Themes(shop): don't show trolley bay on low zoom levels --- assets/themes/shops/shops.json | 29 ++++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/assets/themes/shops/shops.json b/assets/themes/shops/shops.json index 66a6d19f1..7c1ef5543 100644 --- a/assets/themes/shops/shops.json +++ b/assets/themes/shops/shops.json @@ -50,13 +50,24 @@ }, "icon": "./assets/themes/shops/shop.svg", "layers": [ - "shops", - "pharmacy", - "ice_cream", - "trolley_bay" - ], - "overrideAll": { - "minzoom": 12, - "syncSelection": "theme-only" - } + { + "builtin": [ + "shops", + "pharmacy", + "ice_cream" + ], + "override": { + "minzoom": 12, + "syncSelection": "theme-only" + } + }, + { + "builtin": [ + "trolley_bay" + ], + "override": { + "syncSelection": "theme-only" + } + } + ] }