Main categories of OpenStreetBrowser with public transport zoom level
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.
 
 

67 lines
1.8 KiB

{
"type": "overpass",
"name": {
"ast": "Dineru",
"cs": "Finanční služby",
"de": "Finanzen",
"el": "Χρήμα",
"en": "Financial",
"fr": "Finance",
"hu": "Pénzügyek",
"it": "Finanze",
"ja": "金融",
"nl": "Financieel",
"pl": "Finasowe",
"pt": "Finanças",
"pt-br": "Finanças",
"ro": "Financiar",
"ru": "Финансы",
"uk": "Фінанси"
},
"query": {
"14": [
"(",
"node[amenity~\"^(bank)$\"];",
"way[amenity~\"^(bank)$\"];",
"relation[amenity~\"^(bank)$\"];",
")"
],
"15": [
"(",
"node[amenity~\"^(bank|bureau_de_change|atm)$\"];",
"way[amenity~\"^(bank|bureau_de_change|atm)$\"];",
"relation[amenity~\"^(bank|bureau_de_change|atm)$\"];",
")"
]
},
"feature": {
"description": "{{ tagTrans('amenity', tags.amenity) }}",
"markerSign": "{{ const[tags.amenity].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('amenity', value) }}</td>",
" </tr>",
"{% endif %}",
"{% endfor %}",
"</table>"
],
"const": {
"atm": {
"sign": "<img src='maki:bank?size=11'>",
"zoom": 15
},
"bank": {
"sign": "<img src='maki:building'>",
"zoom": 14
},
"bureau_de_change": {
"sign": "⇄",
"zoom": 15
}
}
}