added governments layer and theme

This commit is contained in:
AlexanderRebai 2022-07-20 13:10:38 +00:00
parent 804510ccf4
commit 37f6dc1213
8 changed files with 129 additions and 0 deletions

View file

@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
<circle cx="8" cy="8" r="3" fill="#4863A0"/>
</svg>

After

Width:  |  Height:  |  Size: 136 B

View file

@ -0,0 +1,59 @@
{
"id": "governments",
"name": {
"en": "governments"
},
"source": {
"osmTags": {
"or": [
"office=government"
]
}
},
"title": {
"render": {
"en": "Governmental Office {name}"
}
},
"minzoom": 13,
"tagRenderings": [
"images",
"phone",
"email",
"website",
{
"question": {
"en": "What is the name of this Governmental Office?"
},
"render": {
"en": "This Governmental Office is called {name}"
},
"freeform": {
"key": "name"
},
"id": "name"
}
],
"presets": [
{
"title": {
"en": "a Governmental Office"
},
"tags": [
"office=government"
]
}
],
"mapRendering": [
{
"icon": {
"render": "circle:white;./assets/layers/governments/government.svg"
},
"iconSize": "40,40,center",
"location": [
"point",
"centroid"
]
}
]
}

View file

@ -0,0 +1,12 @@
[
{
"path": "government.svg",
"license": "CC0",
"authors": [
"OSM Carto"
],
"sources": [
"https://wiki.openstreetmap.org/wiki/File:Office-16.svg"
]
}
]