|
|
@ -26,7 +26,7 @@ feature: |
|
|
|
{% set value = tags.amenity %} |
|
|
|
{% elseif tags.leisure in [ 'picnic_table' ] %} |
|
|
|
{% set key = 'leisure' %} |
|
|
|
{% set value = tags.picnic_table%} |
|
|
|
{% set value = tags.leisure %} |
|
|
|
{% elseif tags.man_made in [ 'cairn' ] %} |
|
|
|
{% set key = 'man_made' %} |
|
|
|
{% set value = tags.man_made %} |
|
|
@ -38,41 +38,51 @@ feature: |
|
|
|
{% set value = tags.highway %} |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
{% set type_data = const[value] %} |
|
|
|
{% set type_data = const[key ~ '=' ~ value] %} |
|
|
|
description: |- |
|
|
|
{{ tagTrans(key, value) }} |
|
|
|
markerSign: |- |
|
|
|
{{ type_data.sign|raw }} |
|
|
|
priority: |- |
|
|
|
{{ type_data.priority }} |
|
|
|
filter: |
|
|
|
type: |
|
|
|
name: | |
|
|
|
{{ trans('filter:type') }} |
|
|
|
type: select |
|
|
|
show_default: true |
|
|
|
values: |- |
|
|
|
{% for kv, d in const %} |
|
|
|
<option value='{{ kv }}' query='nwr[{{ kv }}]'>{{ tagTrans(kv|split('=')[0], kv|split('=')[1]) }}</option> |
|
|
|
{% endfor %} |
|
|
|
const: |
|
|
|
crossing: |
|
|
|
highway=crossing: |
|
|
|
priority: 10 |
|
|
|
sign: <i class='fa fa-bars' aria-hidden='true'></i> |
|
|
|
elevator: |
|
|
|
highway=elevator: |
|
|
|
priority: 2 |
|
|
|
sign: <i class='fa fa-caret-square-o-up' aria-hidden='true'></i> |
|
|
|
guidepost: |
|
|
|
information=guidepost: |
|
|
|
priority: 2 |
|
|
|
sign: <i class='fa fa-map-signs' aria-hidden='true'></i> |
|
|
|
map: |
|
|
|
information=map: |
|
|
|
priority: 2 |
|
|
|
sign: <i class='fa fa-map' aria-hidden='true'></i> |
|
|
|
board: |
|
|
|
information=board: |
|
|
|
priority: 2 |
|
|
|
sign: '' |
|
|
|
office: |
|
|
|
sign: <img data-src='temaki:info_board'> |
|
|
|
information=office: |
|
|
|
priority: 1 |
|
|
|
sign: <i class='fa fa-info-circle' aria-hidden='true'></i> |
|
|
|
bench: |
|
|
|
amenity=bench: |
|
|
|
priority: 3 |
|
|
|
sign: <img data-src='temaki:bench'> |
|
|
|
picnic_table: |
|
|
|
leisure=picnic_table: |
|
|
|
priority: 3 |
|
|
|
sign: <img data-src='maki:picnic-site'> |
|
|
|
cairn: |
|
|
|
man_made=cairn: |
|
|
|
priority: 2 |
|
|
|
sign: '' |
|
|
|
shelter: |
|
|
|
sign: <img data-src='temaki:cairn'> |
|
|
|
amenity=shelter: |
|
|
|
priority: 1 |
|
|
|
sign: ⌃ |
|
|
|
sign: <img data-src='maki:shelter'> |