Browse Source

cycle_directions-pattern: bugfix

master
parent
commit
7f922d01ce
  1. 2
      cycle_directions-pattern.json

2
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 %}"
],

Loading…
Cancel
Save