Browse Source

cycleway_types: in popup show cycleway:xxx=no and similar tags

cycleway
parent
commit
5b2cae63da
  1. 9
      cycleway_types.yaml

9
cycleway_types.yaml

@ -343,7 +343,7 @@ feature:
</li> </li>
{% endif %} {% endif %}
{% if attribute(tags, 'cycleway:left')|default(attribute(tags, 'cycleway:both')) %}
{% if leftCycle %}
<li>{{ keyTrans('cycleway:left') }}: <li>{{ keyTrans('cycleway:left') }}:
{% if const.types[leftCycle].warning %} {% if const.types[leftCycle].warning %}
@ -365,9 +365,11 @@ feature:
{% endif %} {% endif %}
</li> </li>
</ul></li> </ul></li>
{% elseif attribute(tags, 'cycleway:left')|default(attribute(tags, 'cycleway:both')) %}
<li>{{ keyTrans('cycleway:left') }}: {{ tagTrans('cycleway', attribute(tags, 'cycleway:left')|default(attribute(tags, 'cycleway:both'))) }}</li>
{% endif %} {% endif %}
{% if attribute(tags, 'cycleway:right')|default(attribute(tags, 'cycleway:both')) %}
{% if rightCycle %}
<li>{{ keyTrans('cycleway:right') }}: <li>{{ keyTrans('cycleway:right') }}:
{% if const.types[rightCycle].warning %} {% if const.types[rightCycle].warning %}
@ -390,7 +392,10 @@ feature:
{% endif %} {% endif %}
</li> </li>
</ul></li> </ul></li>
{% elseif attribute(tags, 'cycleway:right')|default(attribute(tags, 'cycleway:both')) %}
<li>{{ keyTrans('cycleway:right') }}: {{ tagTrans('cycleway', attribute(tags, 'cycleway:right')|default(attribute(tags, 'cycleway:both'))) }}</li>
{% endif %} {% endif %}
</ul> </ul>
markerSymbol: '' markerSymbol: ''

Loading…
Cancel
Save