forked from plepe/openstreetbrowser-categories-main
-
Notifications
You must be signed in to change notification settings - Fork 0
/
historic.json
82 lines (82 loc) · 2.17 KB
/
historic.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"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",
"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)$\"];",
")"
],
"14": [
"(",
"node[historic];",
"way[historic];",
"relation[historic];",
")"
]
},
"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 %}",
"</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": "<img src='maki:monument?size=11'>",
"zoom": 14
},
"monument": {
"sign": "<img src='maki:monument?size=15'>",
"zoom": 11
},
"other": {
"sign": "",
"zoom": 14
}
}
}