From 0203f0a0547768f4e1e80768458b717d41f72722 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Sun, 1 Dec 2024 10:22:38 +0100 Subject: [PATCH] cycleway_types: fix popup for cycleway=* (with indication for left/right/both) and cycleway=yes --- cycleway_types.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cycleway_types.yaml b/cycleway_types.yaml index cc9d694..26e2fd4 100644 --- a/cycleway_types.yaml +++ b/cycleway_types.yaml @@ -336,7 +336,7 @@ feature:
  • {{ keyTrans('cycleway') }}: {{ tagTrans('cycleway', tags.cycleway) }}
  • - {% elseif tags.cycleway %} + {% elseif tags.cycleway and tags.cycleway != 'yes' %}
  • {{ keyTrans('cycleway') }}:
    Recommendation: Indicate side of way by using 'cycleway:left' and/or 'cycleway:right'.
    @@ -358,7 +358,7 @@ feature:
  • {% endif %} - {% if leftCycle %} + {% if leftCycle and attribute(tags, 'cycleway:left')|default(attribute(tags, 'cycleway:both')) %}
  • {{ keyTrans('cycleway:left') }}: {% if const.types[leftCycle].warning %} @@ -384,7 +384,7 @@ feature:
  • {{ keyTrans('cycleway:left') }}: {{ tagTrans('cycleway', attribute(tags, 'cycleway:left')|default(attribute(tags, 'cycleway:both'))) }}
  • {% endif %} - {% if rightCycle %} + {% if rightCycle and attribute(tags, 'cycleway:right')|default(attribute(tags, 'cycleway:both')) %}
  • {{ keyTrans('cycleway:right') }}: {% if const.types[rightCycle].warning %} @@ -509,6 +509,7 @@ const: color: 'black' hiddenTypes: 'no': true + 'yes': true separate: true sidepath: true link: true