|
|
{ "type": "overpass", "name": { "ast": "Deportes", "cs": "Sport", "de": "Sport", "el": "Άθληση", "en": "Sport", "fr": "Sports", "hu": "Sport", "it": "Sport", "ja": "スポーツ", "nl": "Sport", "pt": "Desporto", "pt-br": "Esportes", "ru": "Спорт", "uk": "Спорт. Інше." }, "query": { "14": "(node[sport];way[sport];relation[sport];)" }, "feature": { "title": "{{ localizedTag(tags, 'name') |default(localizedTag(tags, 'operator')) |default(tagTransList('sport', tags.sport)) }}", "description": "{{ tagTransList('sport', tags.sport) }}", "markerSign": [ "{% set firstSport = tags.sport|split(';')[0] %}", "{{ const[firstSport] }}" ] }, "const": { "9pin": "🎳", "10pin": "🎳", "american_football": "🏈", "archery": "🎯", "australian_football": "🏈", "badminton": "🏸", "baseball": "⚾", "basketball": "🏀", "beachvolleyball": "🏐", "billiards": "🎱", "bmx": "🚲", "canadian_football": "🏈", "chess": "♚", "cockfighting": "🐓", "cricket": "🏏", "cycling": "🚲", "darts": "🎯", "dog_racing": "🐕", "equestrian": "🏇", "field_hockey": "🏑", "golf": "⛳", "horse_racing": "🏇", "ice_hockey": "🏒", "ice_skating": "⛸", "model_aerodrome": "✈", "motocross": "🏍", "motor": "🏎", "rugby": "🏉", "rugby_leage": "🏉", "rugby_union": "🏉", "running": "🏃", "sailing": "⛵", "shooting": "🔫", "soccer": "⚽", "surfing": "🏄", "swimming": "🏊", "table_tennis": "🏓", "tennis": "🎾", "volleyball": "🏐", "weightlifting": "🏋" }, "filter": { "sport": { "name": "{{ keyTrans('sport') }}", "type": "select", "show_default": "true", "values": "{% set list = [] %}{% for t, v in const %}<option value=\"{{ t }}\">{% set list = list|merge([ t ]) %}{{ tagTrans('sport', t) }}</option>{% endfor %}<option value='other' query='nwr[sport][sport!~\"^({{ list|join('|') }})$\"]'>{{ trans('other') }}</option>" } } }
|