From 915b8ba3d8b9a6ffd773fc8d4c61efe8db39e322 Mon Sep 17 00:00:00 2001 From: Midgard <2885-Midgard@users.noreply.framagit.org> Date: Sun, 27 Dec 2020 20:27:09 +0100 Subject: [PATCH] Only show heritage in Belgium Because the choices are Belgium-specific --- assets/layers/tree_node/tree_node.json | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/assets/layers/tree_node/tree_node.json b/assets/layers/tree_node/tree_node.json index f6f1ae3..b9ba924 100644 --- a/assets/layers/tree_node/tree_node.json +++ b/assets/layers/tree_node/tree_node.json @@ -330,12 +330,16 @@ "hideInAnswer": true } ], - "condition": { - "or": [ - "denotation=landmark", - "denotation=natural_monument" - ] - } + "condition": { "or": [ + "heritage~*", + { "and": [ + "_country=be", + { "or": [ + "denotation=landmark", + "denotation=natural_monument" + ]} + ]} + ]} }, { "render": {