diff --git a/assets/layers/hospital/hospital.json b/assets/layers/hospital/hospital.json new file mode 100644 index 000000000..e6337fd17 --- /dev/null +++ b/assets/layers/hospital/hospital.json @@ -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" + ] + } + ] +} + diff --git a/hospital.svg b/hospital.svg new file mode 100644 index 000000000..5ef1a4b63 --- /dev/null +++ b/hospital.svg @@ -0,0 +1,13 @@ + + + + + + diff --git a/license_info.json b/license_info.json new file mode 100644 index 000000000..8a37d59ec --- /dev/null +++ b/license_info.json @@ -0,0 +1,12 @@ +[ + { + "path": "hospital.svg", + "license": "CC-0", + "authors": [ + "osmcarto" + ], + "sources": [ + "https://wiki.openstreetmap.org/wiki/File:Hospital-14.svg" + ] + } +] \ No newline at end of file