From 937d96a1779903b6d37a7c67ec49591018f653a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Tue, 28 Aug 2018 07:08:02 +0200 Subject: [PATCH] historic: use different translation/icon for "historic=memorial memorial=plaque" --- historic.json | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/historic.json b/historic.json index 76c2e270..9111eea3 100644 --- a/historic.json +++ b/historic.json @@ -36,8 +36,14 @@ ] }, "feature": { - "description": "{{ tagTransList('historic', tags.historic) }}", - "markerSign": "{{ const[tags.historic].sign|raw }}" + "pre": [ + "{% set value = tags.historic %}", + "{% if const[tags.historic ~ ' memorial=' ~ tags.memorial] %}", + " {% set value = tags.historic ~ ' memorial=' ~ tags.memorial %}", + "{% endif %}" + ], + "description": "{{ tagTransList('historic', value) }}", + "markerSign": "{{ const[value].sign|raw }}" }, "info": [ "", @@ -78,6 +84,10 @@ "sign": "", "zoom": 14 }, + "memorial memorial=plaque": { + "sign": "", + "zoom": 14 + }, "monument": { "sign": "", "zoom": 11