From 5b2cae63da333ae9539bfc6ca12116872e784090 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Sat, 30 Nov 2024 08:39:25 +0100 Subject: [PATCH] cycleway_types: in popup show cycleway:xxx=no and similar tags --- cycleway_types.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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: ''