From cbf7ef764d582719f99f71c09f16577a3107d8ca Mon Sep 17 00:00:00 2001 From: Ward Beyens Date: Wed, 7 Jul 2021 13:11:06 +0200 Subject: [PATCH 1/2] extra layers natuurpunt --- .../information.svg | 1 + .../visitor_information_centre.json | 39 +++++++++++++++++++ assets/themes/natuurpunt/natuurpunt.json | 4 +- 3 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 assets/layers/visitor_information_centre/information.svg create mode 100644 assets/layers/visitor_information_centre/visitor_information_centre.json diff --git a/assets/layers/visitor_information_centre/information.svg b/assets/layers/visitor_information_centre/information.svg new file mode 100644 index 000000000..873ef4d32 --- /dev/null +++ b/assets/layers/visitor_information_centre/information.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/layers/visitor_information_centre/visitor_information_centre.json b/assets/layers/visitor_information_centre/visitor_information_centre.json new file mode 100644 index 000000000..57e14db50 --- /dev/null +++ b/assets/layers/visitor_information_centre/visitor_information_centre.json @@ -0,0 +1,39 @@ +{ + "id": "visitor_information_centre", + "name": { + "en": "Visitor Information Centre", + "nl": "Bezoekerscentrum" + }, + "minzoom": 12, + "source": { + "osmTags": { + "or": ["information=visitor_centre", "information=office"] + } + }, + "title": { + "render": { + "en": "{key}", + "nl": "{key}" + } + }, + "description": { + "en": "A visitor center offers information about a specific attraction or place of interest where it is located.", + "nl": "Een bezoekerscentrum biedt informatie over een specifieke attractie of bezienswaardigheid waar het is gevestigd." + }, + "tagRenderings": [], + "hideUnderlayingFeaturesMinPercentage": 0, + "icon": { + "render": "./assets/layers/information_board/board.svg" + }, + "width": { + "render": "8" + }, + "iconSize": { + "render": "40,40,center" + }, + "color": { + "render": "#00f" + }, + "presets": [], + "wayHandling": 1 +} diff --git a/assets/themes/natuurpunt/natuurpunt.json b/assets/themes/natuurpunt/natuurpunt.json index 4083ed5b8..4ce6ff0e9 100644 --- a/assets/themes/natuurpunt/natuurpunt.json +++ b/assets/themes/natuurpunt/natuurpunt.json @@ -27,7 +27,9 @@ "bench", "bench_at_pt", "picnic_table", - "birdhide" + "birdhide", + "toilet", + "visitor_information_centre" ], "roamingRenderings": [] } From 81e621d63dad5dee0b85709a369d2517f38ce32e Mon Sep 17 00:00:00 2001 From: LiamSimons Date: Wed, 7 Jul 2021 15:08:49 +0200 Subject: [PATCH 2/2] waste_basket theme and layer --- assets/themes/waste_basket/license_info.json | 10 ++++++++ assets/themes/waste_basket/waste_basket.json | 0 assets/themes/waste_basket/waste_basket.svg | 26 ++++++++++++++++++++ 3 files changed, 36 insertions(+) create mode 100644 assets/themes/waste_basket/license_info.json create mode 100644 assets/themes/waste_basket/waste_basket.json create mode 100644 assets/themes/waste_basket/waste_basket.svg diff --git a/assets/themes/waste_basket/license_info.json b/assets/themes/waste_basket/license_info.json new file mode 100644 index 000000000..21871efc0 --- /dev/null +++ b/assets/themes/waste_basket/license_info.json @@ -0,0 +1,10 @@ +[ + { + "authors": [], + "path": "waste_basket.svg", + "license": "CC0", + "sources": [ + "https://wiki.openstreetmap.org/wiki/File:Waste-basket-12.svg" + ] + } + ] \ No newline at end of file diff --git a/assets/themes/waste_basket/waste_basket.json b/assets/themes/waste_basket/waste_basket.json new file mode 100644 index 000000000..e69de29bb diff --git a/assets/themes/waste_basket/waste_basket.svg b/assets/themes/waste_basket/waste_basket.svg new file mode 100644 index 000000000..f9fb4b29c --- /dev/null +++ b/assets/themes/waste_basket/waste_basket.svg @@ -0,0 +1,26 @@ + + + + + + image/svg+xml + + + + + + + + +