added governments layer and theme
This commit is contained in:
parent
804510ccf4
commit
37f6dc1213
8 changed files with 129 additions and 0 deletions
3
assets/layers/governments/government.svg
Normal file
3
assets/layers/governments/government.svg
Normal 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 |
59
assets/layers/governments/governments.json
Normal file
59
assets/layers/governments/governments.json
Normal 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"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
12
assets/layers/governments/license_info.json
Normal file
12
assets/layers/governments/license_info.json
Normal file
|
@ -0,0 +1,12 @@
|
|||
[
|
||||
{
|
||||
"path": "government.svg",
|
||||
"license": "CC0",
|
||||
"authors": [
|
||||
"OSM Carto"
|
||||
],
|
||||
"sources": [
|
||||
"https://wiki.openstreetmap.org/wiki/File:Office-16.svg"
|
||||
]
|
||||
}
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue