forked from MapComplete/MapComplete
Add hospital layer; Co-authored-by: Hasan Rezaoul <roconmachine>
This commit is contained in:
parent
52f1d86772
commit
b5655b5533
3 changed files with 70 additions and 0 deletions
45
assets/layers/hospital/hospital.json
Normal file
45
assets/layers/hospital/hospital.json
Normal file
|
@ -0,0 +1,45 @@
|
|||
{
|
||||
"id": "hospital",
|
||||
"name": {
|
||||
"en": "Hospital"
|
||||
},
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Hospital"
|
||||
}
|
||||
},
|
||||
"minzoom": 12,
|
||||
"source": {
|
||||
"osmTags": "amenity=hospital"
|
||||
},
|
||||
"tagRenderings": [
|
||||
{
|
||||
"id": "name",
|
||||
"render": {
|
||||
"en": "Name of the hospital name is {name}"
|
||||
},
|
||||
"question": {
|
||||
"en": "What does the of the hospital ?"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "name"
|
||||
}
|
||||
},
|
||||
"phone",
|
||||
"email",
|
||||
"website"
|
||||
],
|
||||
"mapRendering": [
|
||||
{
|
||||
"icon": {
|
||||
"render": "circle:white;./assets/layers/hospital/hospital.svg"
|
||||
},
|
||||
"iconSize": "40,40,center",
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue