From 5af94b012c0e8b65c41bfd38f5b88a1d5649000f Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Sun, 14 Mar 2021 01:54:02 +0100 Subject: [PATCH] More questions for the playgrounds-theme --- assets/layers/playground/playground.json | 25 +++++------------------- 1 file changed, 5 insertions(+), 20 deletions(-) diff --git a/assets/layers/playground/playground.json b/assets/layers/playground/playground.json index 5d11f33..b62e4bb 100644 --- a/assets/layers/playground/playground.json +++ b/assets/layers/playground/playground.json @@ -4,7 +4,9 @@ "nl": "Speeltuinen" }, "minzoom": 13, - "overpassTags": "leisure=playground", + "overpassTags": { + "and": ["leisure=playground","playground!=forest"] + }, "description": { "nl": "Speeltuinen en speelbossen" }, @@ -13,23 +15,6 @@ "nl": "Speeltuin" }, "mappings": [ - { - "if": { - "and": [ - "playground=forest", - "name~*" - ] - }, - "then": { - "nl": "Speelbos {name}" - } - }, - { - "if": "playground=forest", - "then": { - "nl": "Speelbos" - } - }, { "if": "name~*", "then": { @@ -57,7 +42,7 @@ }, { "if": "surface=sand", - "then": "De ondergrond is zan" + "then": "De ondergrond is zand" }, { "if": "surface=paving_stones", @@ -74,7 +59,7 @@ ] }, { - "render": { + "question": { "nl": "Is deze speeltuin 's nachts verlicht?" }, "mappings": [