From 71c815d37d0760908151b4ffa7e2b6e5041af7ef Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Wed, 8 Feb 2023 00:13:28 +0100 Subject: [PATCH] Add medical shops to healthcare theme --- assets/themes/healthcare/healthcare.json | 63 +++++++++++++++++++++++- 1 file changed, 61 insertions(+), 2 deletions(-) diff --git a/assets/themes/healthcare/healthcare.json b/assets/themes/healthcare/healthcare.json index b51803b8c..708e41d32 100644 --- a/assets/themes/healthcare/healthcare.json +++ b/assets/themes/healthcare/healthcare.json @@ -31,6 +31,65 @@ "physiotherapist", "dentist", "hospital", - "pharmacy" + "pharmacy", + { + "builtin": "shops", + "override": { + "id": "medical-shops", + "minzoom": 13, + "=filters": [ + "open_now", + "accepts_cash", + "accepts_cards" + ], + "=presets": [ + { + "title": { + "en": "a medical supply shop" + }, + "tags": [ + "shop=medical_supply" + ] + }, + { + "title": { + "en": "a hearing aids shop" + }, + "tags": [ + "shop=hearing_aids" + ] + }, + { + "title": { + "en": "an optician" + }, + "tags": [ + "shop=optician" + ] + } + ], + "source": { + "osmTags": { + "and+": [ + { + "or": [ + "shop=medical_supply", + "shop=hearing_aids", + "shop=optician" + ] + } + ] + } + } + } + }, + { + "builtin": "shops", + "=presets": [], + "=name": null, + "override": { + "minzoom": 19 + } + } ] -} \ No newline at end of file +}