From 5f3c8dd1b48794de6e7b096be2b56bd8cd77c404 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Fri, 3 Dec 2021 02:27:28 +0100 Subject: [PATCH] Add walls_and_buildings layer --- .../walls_and_buildings.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 assets/layers/walls_and_buildings/walls_and_buildings.json diff --git a/assets/layers/walls_and_buildings/walls_and_buildings.json b/assets/layers/walls_and_buildings/walls_and_buildings.json new file mode 100644 index 000000000..3fe717c9b --- /dev/null +++ b/assets/layers/walls_and_buildings/walls_and_buildings.json @@ -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" + } + } + ] +} \ No newline at end of file