forked from MapComplete/MapComplete
improved doctors layer
This commit is contained in:
parent
2bb48439b5
commit
06a02320ee
1 changed files with 43 additions and 1 deletions
|
@ -17,7 +17,49 @@
|
||||||
},
|
},
|
||||||
"minzoom": 13,
|
"minzoom": 13,
|
||||||
"tagRenderings": [
|
"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": [
|
"mapRendering": [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue