improved doctors layer

This commit is contained in:
AlexanderRebai 2022-07-06 09:57:05 +00:00
parent 2bb48439b5
commit 06a02320ee

View file

@ -17,7 +17,49 @@
},
"minzoom": 13,
"tagRenderings": [
"images"
"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": [
{