From a1c4cdd54444974648d971a8e530af17ef49357b Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Mon, 18 Jul 2022 09:58:09 +0200 Subject: [PATCH] Add fallback as title for pharmacies without a name --- assets/layers/pharmacy/pharmacy.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/assets/layers/pharmacy/pharmacy.json b/assets/layers/pharmacy/pharmacy.json index 2d982829a6..5d23cc93ef 100644 --- a/assets/layers/pharmacy/pharmacy.json +++ b/assets/layers/pharmacy/pharmacy.json @@ -6,7 +6,13 @@ "title": { "render": { "en": "{name}" - } + }, + "mappings": [{ + "if": "name=", + "then": { + "en": "Pharmacy" + } + }] }, "source": { "osmTags": {