From d8b86703c6fb9f2bf94d381802e246ca352d33e8 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Sat, 5 Jul 2025 17:47:38 +0200 Subject: [PATCH] Themes(into_nature): include visitor_information_centre.json --- .../visitor_information_centre.json | 58 +++++++------------ assets/themes/nature/nature.json | 5 +- 2 files changed, 24 insertions(+), 39 deletions(-) diff --git a/assets/layers/visitor_information_centre/visitor_information_centre.json b/assets/layers/visitor_information_centre/visitor_information_centre.json index 597521766b..18cb1edfb9 100644 --- a/assets/layers/visitor_information_centre/visitor_information_centre.json +++ b/assets/layers/visitor_information_centre/visitor_information_centre.json @@ -50,43 +50,7 @@ "pl": "{name}", "cy": "{name}", "it": "{name}" - }, - "mappings": [ - { - "if": { - "and": [ - "name:nl~*" - ] - }, - "then": { - "nl": "{name:nl}" - } - }, - { - "if": { - "and": [ - "name~*" - ] - }, - "then": { - "nl": "{name}", - "en": "{name}", - "de": "{name}", - "ru": "{name}", - "eo": "{name}", - "fr": "{name}", - "ca": "{name}", - "id": "{name}", - "es": "{name}", - "da": "{name}", - "cs": "{name}", - "zh_Hant": "{name}", - "pl": "{name}", - "cy": "{name}", - "it": "{name}" - } - } - ] + } }, "pointRendering": [ { @@ -105,6 +69,24 @@ ], "lineRendering": [], "presets": [], - "tagRenderings": [], + "tagRenderings": [ + "images", + { + "id": "visitor-centre-name", + "question": { + "en": "What is the name of this visitors centre?" + }, + "freeform": { + "key": "name" + }, + "render": { + "en": "This visitors centre is called {name}" + } + }, + "contact", + "opening_hours", + "internet-all", + "toilet_at_amenity_lib.all" + ], "allowMove": true } diff --git a/assets/themes/nature/nature.json b/assets/themes/nature/nature.json index bdfb544482..efe86c9c04 100644 --- a/assets/themes/nature/nature.json +++ b/assets/themes/nature/nature.json @@ -54,6 +54,7 @@ "startLat": 51.20875, "startLon": 3.22435, "layers": [ + "visitor_information_centre", "drinking_water", "birdhide", "nature_reserve", @@ -68,7 +69,8 @@ "shelter", "bbq", "firepit", - "insect_hotel" + "insect_hotel", + "artwork" ], "override": { "minzoom": 16 @@ -78,6 +80,7 @@ "builtin": "tree_node", "override": { "minzoom": 18, + "isCounted": false, "shownByDefault": false } },