mapcomplete/assets/layers/doctors/doctors.json

76 lines
1.9 KiB
JSON
Raw Normal View History

2022-07-05 17:04:14 +02:00
{
"id": "doctors",
"name": {
"en": "doctors"
},
"title": {
"render": {
"en": "Doctors Office {name}"
}
},
"source": {
"osmTags": {
"and": [
"amenity=doctors"
]
}
},
"minzoom": 13,
"tagRenderings": [
2022-07-06 11:57:05 +02:00
"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"
}
}
]
}
2022-07-05 17:04:14 +02:00
],
"mapRendering": [
{
"icon": {
"render": "pin:#6BC4F7;./assets/layers/doctors/doctors.svg"
},
"iconSize": "40,40,bottom",
"location": [
"point",
"centroid"
]
}
]
}