From 7f922d01ce730c3e482e6912460e6ef94cd8fe3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Thu, 31 Aug 2023 13:33:13 +0200 Subject: [PATCH] cycle_directions-pattern: bugfix --- cycle_directions-pattern.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cycle_directions-pattern.json b/cycle_directions-pattern.json index 62263a3..1ae9d9c 100644 --- a/cycle_directions-pattern.json +++ b/cycle_directions-pattern.json @@ -52,7 +52,7 @@ "pattern-path-color": [ "{% if tags.oneway in [ 'yes', '1' ] and (tags.cycleway in [ 'opposite_track' ] or attribute(tags, 'cycleway:left') in [ 'opposite_track' ] or attribute(tags, 'cycleway:right') in [ 'opposite_track' ]) %}", "#00af00", - "{% elseif tags.oneway in [ 'yes', '1' ] and (tags.cycleway in [ 'opposite_lane', 'opposite' ] or attribute(tags, 'cycleway:left') in [ 'opposite', 'opposite_lane' ] or attribute(tags, 'cycleway:right') in [ 'opposite', 'opposite_lane' or attribute(tags, 'oneway:bicycle') == 'no' ]) %}", + "{% elseif tags.oneway in [ 'yes', '1' ] and (tags.cycleway in [ 'opposite_lane', 'opposite' ] or attribute(tags, 'cycleway:left') in [ 'opposite', 'opposite_lane' ] or attribute(tags, 'cycleway:right') in [ 'opposite', 'opposite_lane' ] or attribute(tags, 'oneway:bicycle') == 'no') %}", "#00ff00", "{% endif %}" ],