{ "id": "doctors", "name": { "en": "doctors" }, "title": { "render": { "en": "Doctors Office {name}" } }, "source": { "osmTags": { "and": [ "amenity=doctors" ] } }, "minzoom": 13, "tagRenderings": [ "images", "opening_hours", "phone", "email", "website", { "id": "specialty", "render": { "en": "This doctor is specialized in {healthcare:speciality}" }, "question": { "en": "What is this doctor specialized in?" }, "freeform": { "key": "healthcare:speciality" }, "mappings": [ { "if": "healthcare:speciality=general", "then": { "en": "This is a general practitioner" } }, { "if": "healthcare:speciality=gynaecology", "then": { "en": "This is a gynaecologist" } }, { "if": "healthcare:speciality=psychiatry", "then": { "en": "This is a psychiatrist" } }, { "if": "healthcare:speciality=paediatrics", "then": { "en": "This is a paediatrician" } } ] } ], "mapRendering": [ { "icon": { "render": "pin:#6BC4F7;./assets/layers/doctors/doctors.svg" }, "iconSize": "40,40,bottom", "location": [ "point", "centroid" ] } ] }