diff --git a/historic.json b/historic.json index efe9e1c..07ce57a 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