|
|
{ "type": "overpass", "name": { "ast": "Hestoria", "cs": "Historické", "de": "Geschichte", "el": "Ιστορικά", "en": "Historic", "et": "Ajalooline", "fr": "Histoire", "hu": "Történelmi objektumok", "it": "Storia", "ja": "記念", "nl": "Historisch", "pl": "Miejsca Historyczne", "pt": "Histórico", "pt-br": "Histórico", "ro": "Istoric", "ru": "Историческое", "uk": "Історія" }, "query": { "11": [ "(", "node[historic~\"^(castle|archaeological_site|battlefield)$\"];", "way[historic~\"^(castle|archaeological_site|battlefield)$\"];", "relation[historic~\"^(castle|archaeological_site|battlefield)$\"];", ")" ], "14": [ "(", "node[historic][historic!~\"^(memorial|monument|wayside_cross|wayside_shrine|wayside_chapel)$\"];", "way[historic][historic!~\"^(memorial|monument|wayside_cross|wayside_shrine|wayside_chapel)$\"];", "relation[historic][historic!~\"^(memorial|monument|wayside_cross|wayside_shrine|wayside_chapel)$\"];", ")" ] }, "feature": { "description": "{{ tagTransList('historic', tags.historic) }}", "markerSign": "{{ const[tags.historic].sign|raw }}" }, "info": [ "<table>", "{% for value, data in const %}", "{% if data.zoom <= map.zoom %}", " <tr>", " <td>{{ markerCircle({})|raw }}<div class='sign'>{{ data.sign|raw }}</div></td>", " <td>{{ tagTrans('historic', value) }}</td>", " </tr>", "{% endif %}", "{% endfor %}", "{% if 14 <= map.zoom %}", " <tr>", " <td>{{ markerCircle({})|raw }}<div class='sign'></div></td>", " <td>{{ trans('other') }}</td>", " </tr>", "{% endif %}", "</table>" ], "const": { "archaeological_site": { "sign": "", "zoom": 11 }, "battlefield": { "sign": "", "zoom": 11 }, "castle": { "sign": "<img src='maki:castle'>", "zoom": 11 }, "aircraft": { "sign": "<img src='maki:airport'>", "zoom": 14 } } }
|