Browse Source

leisure: add icons (unfin)

cycle_infrastructure
parent
commit
26a5cefc45
  1. 95
      leisure.json

95
leisure.json

@ -40,7 +40,8 @@
" - {{ tagTransList('sport', tags.sport) }}", " - {{ tagTransList('sport', tags.sport) }}",
" {% endif %}", " {% endif %}",
"{% endif %}" "{% endif %}"
] ],
"markerSign": "{{ const[tags.leisure]|raw }}"
}, },
"filter": { "filter": {
"access": { "access": {
@ -76,54 +77,54 @@
"leisure": { "leisure": {
"name": "{{ trans('filter:type') }}", "name": "{{ trans('filter:type') }}",
"type": "select", "type": "select",
"values": "{% set list = [] %}{% for k in const %}<option value=\"{{ k }}\">{% set list = list|merge([ k ]) %}{{ tagTrans('leisure', k) }}</option>{% endfor %}<option weight='1' value='other' query='nwr[leisure][leisure!~\"^(|.*;)({{ list|join('|') }})(|;.*)$\"]'>{{ trans('other') }}</option>", "values": "{% set list = [] %}{% for k, v in const %}<option value=\"{{ k }}\">{% set list = list|merge([ k ]) %}{{ tagTrans('leisure', k) }}</option>{% endfor %}<option weight='1' value='other' query='nwr[leisure][leisure!~\"^(|.*;)({{ list|join('|') }})(|;.*)$\"]'>{{ trans('other') }}</option>",
"sort": "natsort", "sort": "natsort",
"op": "has" "op": "has"
} }
}, },
"const": [ "const": {
"adult_gaming_centre", "adult_gaming_centre": "",
"amusement_arcade", "amusement_arcade": "",
"bandstand", "bandstand": ":",
"beach_resort", "beach_resort": "",
"bird_hide", "bird_hide": "",
"bleachers", "bleachers": "",
"bowling_alley", "bowling_alley": "",
"common", "common": "",
"dance", "dance": "",
"disc_golf_course", "disc_golf_course": "",
"dog_park", "dog_park": "",
"escape_game", "escape_game": "",
"firepit", "firepit": "",
"fishing", "fishing": "",
"fitness_centre", "fitness_centre": "",
"fitness_station", "fitness_station": "",
"garden", "garden": "",
"golf_course", "golf_course": "",
"hackerspace", "hackerspace": "",
"horse_riding", "horse_riding": "",
"ice_rink", "ice_rink": "",
"indoor_play", "indoor_play": "",
"marina", "marina": "",
"miniature_golf", "miniature_golf": "",
"nature_reserve", "nature_reserve": "",
"outdoor_seating", "outdoor_seating": "",
"park", "park": "P",
"picnic_table", "picnic_table": "<img data-src='maki:picnic-site'>",
"pitch", "pitch": "",
"playground", "playground": "⛹",
"sauna", "sauna": "",
"slipway", "slipway": "",
"sport", "sport": "",
"sports_cenre", "sports_cenre": "",
"sports_hall", "sports_hall": "",
"stadium", "stadium": "",
"summer_camp", "summer_camp": "",
"swimming_area", "swimming_area": "",
"swimming_pool", "swimming_pool": "",
"track", "track": "",
"trampoline_park", "trampoline_park": "",
"water_park", "water_park": "",
"wildlife_hide" "wildlife_hide": ""
] }
} }
|||||||
100:0
Loading…
Cancel
Save