From a3db8b986d5c0c6f777dc678ac0248d216502633 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Fri, 26 Jan 2018 21:33:28 +0100 Subject: [PATCH] Historic: map key, more icons --- historic.json | 46 ++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 42 insertions(+), 4 deletions(-) diff --git a/historic.json b/historic.json index efe9e1c00..07ce57aa9 100644 --- a/historic.json +++ b/historic.json @@ -35,10 +35,48 @@ }, "feature": { "description": "{{ tagTransList('historic', tags.historic) }}", - "markerSign": "{{ const[tags.historic] }}" + "markerSign": "{{ const[tags.historic].sign|raw }}" }, + "info": [ + "", + "{% for value, data in const %}", + "{% if data.zoom <= map.zoom %}", + " ", + " ", + " ", + " ", + "{% endif %}", + "{% endfor %}", + "
{{ markerCircle({})|raw }}
{{ data.sign|raw }}
{{ tagTrans('amenity', value) }}
" + ], "const": { - "castle": "🏰", - "aircraft": "✈" + "archaeological_site": { + "sign": "", + "zoom": 11 + }, + "battlefield": { + "sign": "", + "zoom": 11 + }, + "castle": { + "sign": "", + "zoom": 11 + }, + "aircraft": { + "sign": "", + "zoom": 14 + }, + "memorial": { + "sign": "", + "zoom": 14 + }, + "monument": { + "sign": "", + "zoom": 11 + }, + "other": { + "sign": "", + "zoom": 14 + } } -} +} \ No newline at end of file