forked from OpenStreetBrowser/main
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
94 lines
2.7 KiB
94 lines
2.7 KiB
{
|
|
"type": "overpass",
|
|
"name": {
|
|
"ast": "Hestoria",
|
|
"cs": "Historické",
|
|
"de": "Geschichte",
|
|
"el": "Ιστορικά",
|
|
"en": "Historic",
|
|
"et": "Ajalooline",
|
|
"fr": "Histoire",
|
|
"hu": "Historikus",
|
|
"it": "Storia",
|
|
"ja": "記念",
|
|
"nl": "Historisch",
|
|
"pl": "Miejsca Historyczne",
|
|
"pt-br": "Histórico",
|
|
"ro": "Istoric",
|
|
"ru": "Историческое",
|
|
"uk": "Історія"
|
|
},
|
|
"query": {
|
|
"11": [
|
|
"(",
|
|
"node[historic~\"^(castle|archaeological_site|battlefield|monument)$\"];",
|
|
"way[historic~\"^(castle|archaeological_site|battlefield|monument)$\"];",
|
|
"relation[historic~\"^(castle|archaeological_site|battlefield|monument)$\"];",
|
|
"node[heritage~\"^(1|2|3|4)$\"];",
|
|
"way[heritage~\"^(1|2|3|4)$\"];",
|
|
"relation[heritage~\"^(1|2|3|4)$\"];",
|
|
")"
|
|
],
|
|
"14": [
|
|
"(",
|
|
"node[historic];",
|
|
"way[historic];",
|
|
"relation[historic];",
|
|
"node[heritage];",
|
|
"way[heritage];",
|
|
"relation[heritage];",
|
|
")"
|
|
]
|
|
},
|
|
"feature": {
|
|
"description": [
|
|
"{{ tagTransList('historic', tags.historic) }}",
|
|
"{% if tags.heritage %}{{ keyTrans('heritage') }} ({{ tags.heritage }}){% endif %}"
|
|
],
|
|
"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
|
|
},
|
|
"memorial": {
|
|
"sign": "<span style='position: relative; top: -2px;'><img src='maki:monument?size=11'></span>",
|
|
"zoom": 14
|
|
},
|
|
"monument": {
|
|
"sign": "<img src='maki:monument?size=15'>",
|
|
"zoom": 11
|
|
}
|
|
}
|
|
}
|