From 65d1fb16475514f52322d5d63207884b8c656cd2 Mon Sep 17 00:00:00 2001 From: Midgard Date: Wed, 18 Dec 2024 22:06:07 +0100 Subject: [PATCH] Themes(aed): add iconBadges for opening hours and wheelchair access --- assets/layers/defibrillator/defibrillator.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/assets/layers/defibrillator/defibrillator.json b/assets/layers/defibrillator/defibrillator.json index 76898f88e..09bd0ecda 100644 --- a/assets/layers/defibrillator/defibrillator.json +++ b/assets/layers/defibrillator/defibrillator.json @@ -48,6 +48,21 @@ }, "pointRendering": [ { + "iconBadges": [ + { + "if": "opening_hours~*", + "then": "icons.isOpen" + }, + { + "if": { + "or": [ + "wheelchair=yes", + "wheelchair=designated" + ] + }, + "then": "circle:white;./assets/layers/toilet/wheelchair.svg" + } + ], "iconSize": { "render": "20,20", "mappings": [