Browse Source

kerbs: showing height with units; bugfix: show height in body

parking-lanes
parent
commit
7c6030591a
  1. 4
      kerbs.yaml

4
kerbs.yaml

@ -14,7 +14,7 @@ feature:
<li>{{ keyTrans('kerb') }}: {{ tags.kerb ? tagTrans('kerb', tags.kerb) : trans('unknown') }}</li> <li>{{ keyTrans('kerb') }}: {{ tags.kerb ? tagTrans('kerb', tags.kerb) : trans('unknown') }}</li>
<li>{{ keyTrans('wheelchair') }}: {{ tags.wheelchair ? tagTrans('wheelchair', tags.wheelchair) : trans('unknown') }}</li> <li>{{ keyTrans('wheelchair') }}: {{ tags.wheelchair ? tagTrans('wheelchair', tags.wheelchair) : trans('unknown') }}</li>
<li>{{ keyTrans('tactile_paving') }}: {{ tags.tactile_paving ? tagTrans('tactile_paving', tags.tactile_paving) : trans('unknown') }}</li> <li>{{ keyTrans('tactile_paving') }}: {{ tags.tactile_paving ? tagTrans('tactile_paving', tags.tactile_paving) : trans('unknown') }}</li>
<li>{{ keyTrans('height') }}: {{ 'height' in tags ? tags.height : trans('unknown') }}</li>
<li>{{ keyTrans('height') }}: {{ tags.height ? tags.height|formatUnit('distance') : trans('unknown') }}</li>
</ul> </ul>
markerSymbol: markerSymbol:
listMarkerSymbol: | listMarkerSymbol: |
@ -25,7 +25,7 @@ feature:
{% endif %} {% endif %}
details: | details: |
{% if tags.kerb and tags.kerb != 'yes' %}{{ tagTrans('kerb', tags.kerb) }}{% endif %} {% if tags.kerb and tags.kerb != 'yes' %}{{ tagTrans('kerb', tags.kerb) }}{% endif %}
{% if tags.height %}({{ tags.height }}){% endif %}
{% if tags.height %}({{ tags.height|formatUnit('distance') }}){% endif %}
styles: | styles: |
{% if type == 'way' %} {% if type == 'way' %}
default,marker default,marker

Loading…
Cancel
Save