Add walls_and_buildings layer
This commit is contained in:
parent
e21f7f4dee
commit
5f3c8dd1b4
1 changed files with 33 additions and 0 deletions
33
assets/layers/walls_and_buildings/walls_and_buildings.json
Normal file
33
assets/layers/walls_and_buildings/walls_and_buildings.json
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
{
|
||||||
|
"id": "walls_and_buildings",
|
||||||
|
"minzoom": 18,
|
||||||
|
"title": {
|
||||||
|
"render": {
|
||||||
|
"en": "Wall or building"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"en": "Special builtin layer providing all walls and buildings. This layer is useful in presets for objects which can be placed against walls (e.g. AEDs, postboxes, entrances, addresses, surveillance cameras, ...). This layer is invisible by default and not toggleable by the user."
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"osmTags": {
|
||||||
|
"or": [
|
||||||
|
"barrier=wall",
|
||||||
|
"building~*"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"passAllFeatures": true,
|
||||||
|
"shownByDefault": false,
|
||||||
|
"mapRendering": [
|
||||||
|
{
|
||||||
|
"color": {
|
||||||
|
"render": "#333"
|
||||||
|
},
|
||||||
|
"fill": "no",
|
||||||
|
"width": {
|
||||||
|
"render": "5"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in a new issue