From a6c12e5efb4dbe388b550f990bd9a0b2d703cd77 Mon Sep 17 00:00:00 2001 From: Osmwithspace <> Date: Mon, 3 Feb 2025 14:34:13 +0100 Subject: [PATCH 1/2] set minzoom to 16 --- assets/themes/scouting/scouting.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/themes/scouting/scouting.json b/assets/themes/scouting/scouting.json index 4fd607463..c6f213a86 100644 --- a/assets/themes/scouting/scouting.json +++ b/assets/themes/scouting/scouting.json @@ -39,7 +39,7 @@ { "builtin": "campsite", "override": { - "minzoom": 18, + "minzoom": 16, "filter": null, "name": null, "isCounted": false From 7ba0fa3b613a5e45e88e8805354115961d0b9d90 Mon Sep 17 00:00:00 2001 From: Osmwithspace <> Date: Mon, 3 Feb 2025 15:06:08 +0100 Subject: [PATCH 2/2] add tagRendering for group_only=yes --- assets/layers/campsite/campsite.json | 31 ++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/assets/layers/campsite/campsite.json b/assets/layers/campsite/campsite.json index 82cfa3d06..3e1a6a170 100644 --- a/assets/layers/campsite/campsite.json +++ b/assets/layers/campsite/campsite.json @@ -63,6 +63,37 @@ } ], "tagRenderings": [ + { + "question": { + "de": "Ist dieser Zeltplatz ausschließlich für Gruppen?", + "en": "Is this campsite exclusively for groups?" + }, + "mappings": [ + { + "if": { + "and": [ + "group_only=yes" + ] + }, + "then": { + "en": "This campsite is exclusively for groups", + "de": "Dieser Zeltplatz ist ausschließlich für Gruppen" + } + }, + { + "if": { + "and": [ + "group_only=no" + ] + }, + "then": { + "en": "This campsite is not exclusively for groups", + "de": "Dieser Zeltplatz ist nicht ausschließlich für Gruppen" + } + } + ], + "id": "group_only" + }, { "question": { "en": "What is the name of this campsite?",