Browse Source

Cycle Directions: improvements

name-etym
parent
commit
2a47c93b10
  1. 18
      cycle_directions.json

18
cycle_directions.json

@ -11,6 +11,7 @@
"way[cycleway];",
"way[\"cycleway:left\"];",
"way[\"cycleway:right\"];",
"way[oneway];",
")"
]
},
@ -27,9 +28,18 @@
"listMarkerSymbol": "line",
"styles": "default,left,right",
"style": {
"width": [
"{% if tags.highway == 'cycleway' %}",
"3",
"{% else %}",
"7",
"{% endif %}"
],
"color": [
"{% if tags.highway == 'cycleway' %}",
"#007f00",
"{% else %}",
"#ffffff7f",
"{% endif %}"
],
"text": [
@ -78,7 +88,9 @@
"{% elseif driving_side == 'left' and oneway >= 0 and tags.cycleway in [ 'opposite_lane', 'opposite_track' ] %}",
"🡪 ",
"{% endif %}"
]
],
"textRepeat": "1",
"textOffset": "0"
},
"style:right": {
"color": [
@ -103,7 +115,9 @@
"{% elseif driving_side == 'left' and oneway <= 0 and tags.cycleway in [ 'opposite_lane', 'opposite_track' ] %}",
"🡪 ",
"{% endif %}"
]
],
"textRepeat": "1",
"textOffset": "0"
}
},
"info": [

Loading…
Cancel
Save