diff --git a/assets/layers/pharmacy/pharmacy.json b/assets/layers/pharmacy/pharmacy.json index 4f440aac0d..6a9c186083 100644 --- a/assets/layers/pharmacy/pharmacy.json +++ b/assets/layers/pharmacy/pharmacy.json @@ -26,6 +26,22 @@ "minzoom": 13, "tagRenderings": [ "images", + { + "id": "name", + "freeform": { + "key": "name", + "type": "string", + "placeholder": { + "en": "Name of the pharmacy" + } + }, + "question": { + "en": "What is the name of the pharmacy?" + }, + "render": { + "en": "This pharmacy is called {name}" + } + }, "opening_hours", "phone", "email", @@ -66,31 +82,45 @@ "location": [ "point", "centroid" - ] + ], + "iconBadges": [ + { + "if": "opening_hours~*", + "then": "isOpen" + } + ], + "label": { + "mappings": [ + { + "if": "name~*", + "then": "