{ "type": "overpass", "name": { "ast": "Turismu", "cs": "Turistika", "de": "Tourismus", "el": "Τουρισμός", "en": "Tourism", "et": "Turism", "fr": "Tourisme", "hu": "Szálláshelyek, turisztikai információk", "it": "Turismo", "ja": "観光", "nl": "Toerisme", "pl": "Turystyka", "pt": "Turismo", "pt-br": "Serviços turísticos", "ro": "Turism", "ru": "Туризм", "uk": "Туризм" }, "query": { "13": [ "(", "node[tourism~\"^(alpine_hut|apartment|camp_site|caravan_site|chalet|guest_house|hostel|hotel|motel|wilderness_hut)$\"];", "way[tourism~\"^(alpine_hut|apartment|camp_site|caravan_site|chalet|guest_house|hostel|hotel|motel|wilderness_hut)$\"];", "relation[tourism~\"^(alpine_hut|apartment|camp_site|caravan_site|chalet|guest_house|hostel|hotel|motel|wilderness_hut)$\"];", "nwr[office~\"^(guide|tourism|tourist_accommodation|camping)$\"];", ")" ], "16": [ "(", "node[tourism~\"^(alpine_hut|apartment|camp_site|caravan_site|chalet|guest_house|hostel|hotel|information|motel|wilderness_hut)$\"];", "way[tourism~\"^(alpine_hut|apartment|camp_site|caravan_site|chalet|guest_house|hostel|hotel|information|motel|wilderness_hut)$\"];", "relation[tourism~\"^(alpine_hut|apartment|camp_site|caravan_site|chalet|guest_house|hostel|hotel|information|motel|wilderness_hut)$\"];", "nwr[office~\"^(guide|tourism|tourist_accommodation|camping)$\"];", ")" ] }, "feature": { "pre": [ "{% if tags.tourism %}", " {% set key = 'tourism' %}", " {% set value = tags.tourism %}", "{% else %}", " {% set key = 'office' %}", " {% set value = tags.office %}", "{% endif %}" ], "description": [ "{% if key == 'office' %}", " {{ keyTrans('office') }} ({{ tagTrans('office', tags.office) }})", "{% else %}", " {{ tagTrans(key, value) }}", "{% endif %}" ], "markerSign": [ "{% set data = const[key ~ '=' ~ value] %}", "{% if data %}", "{{ data.sign|raw }}", "{% endif %}" ] }, "info": [ "", "{% for kv, data in const %}", "{% if data.zoom <= map.zoom %}", " ", " ", " ", " ", "{% endif %}", "{% endfor %}", "
{{ markerCircle({})|raw }}
{{ data.sign|raw }}
", " {% if kv|split('=')[0] == 'office' %}", " {{ keyTrans('office') }}", " ({{ tagTrans('office', kv|split('=')[1]) }})", " {% else %}", " {{ tagTrans(kv|split('=')[0], kv|split('=')[1]) }}", " {% endif %}", "
" ], "const": { "tourism=alpine_hut": { "sign": "🛌", "zoom": 13 }, "tourism=apartment": { "sign": "🛌", "zoom": 13 }, "tourism=camp_site": { "sign": "⛺", "zoom": 13 }, "tourism=caravan_site": { "sign": "⛺", "zoom": 13 }, "tourism=chalet": { "sign": "🛌", "zoom": 13 }, "tourism=guest_house": { "sign": "🛌", "zoom": 13 }, "tourism=hostel": { "sign": "🛌", "zoom": 13 }, "tourism=hotel": { "sign": "🛌", "zoom": 13 }, "tourism=motel": { "sign": "🛌", "zoom": 13 }, "tourism=wilderness_hut": { "sign": "", "zoom": 13 }, "office=tourism": { "sign": "", "zoom": 13 }, "office=guide": { "sign": "", "zoom": 13 }, "office=tourist_accommodation": { "sign": "🛌", "zoom": 13 }, "office=camping": { "sign": "⛺", "zoom": 13 }, "tourism=information": { "sign": "ℹ️", "zoom": 16 } } }