diff --git a/cycleway_types.yaml b/cycleway_types.yaml index 053f1c2..f7682b2 100644 --- a/cycleway_types.yaml +++ b/cycleway_types.yaml @@ -343,7 +343,7 @@ feature: {% endif %} - {% if attribute(tags, 'cycleway:left')|default(attribute(tags, 'cycleway:both')) %} + {% if leftCycle %}
  • {{ keyTrans('cycleway:left') }}: {% if const.types[leftCycle].warning %} @@ -365,9 +365,11 @@ feature: {% endif %}
  • + {% elseif attribute(tags, 'cycleway:left')|default(attribute(tags, 'cycleway:both')) %} +
  • {{ keyTrans('cycleway:left') }}: {{ tagTrans('cycleway', attribute(tags, 'cycleway:left')|default(attribute(tags, 'cycleway:both'))) }}
  • {% endif %} - {% if attribute(tags, 'cycleway:right')|default(attribute(tags, 'cycleway:both')) %} + {% if rightCycle %}
  • {{ keyTrans('cycleway:right') }}: {% if const.types[rightCycle].warning %} @@ -390,7 +392,10 @@ feature: {% endif %}
  • + {% elseif attribute(tags, 'cycleway:right')|default(attribute(tags, 'cycleway:both')) %} +
  • {{ keyTrans('cycleway:right') }}: {{ tagTrans('cycleway', attribute(tags, 'cycleway:right')|default(attribute(tags, 'cycleway:both'))) }}
  • {% endif %} + markerSymbol: ''