Browse Source

pt, cycle_routes: longer arrows

pedestrian
parent
commit
58122bb3e4
  1. 26
      cycle_routes.json
  2. 24
      pt.json

26
cycle_routes.json

@ -74,8 +74,8 @@
"style": {
"color": "{{ const[network].color }}",
"width": "4",
"dashArray": "{% if not dirForward or not dirBackward %}13,10{% endif %}",
"dashOffset": "{% if dirBackward %}16{% else %}0{% endif %}",
"dashArray": "{% if not dirForward or not dirBackward %}27,8{% endif %}",
"dashOffset": "{% if dirBackward %}28{% else %}0{% endif %}",
"lineCap": "{% if not dirForward or not dirBackward %}butt{% else %}round{% endif %}",
"noClip": "{% if not dirForward or not dirBackward %}true{% else %}false{% endif %}",
"opacity": 1,
@ -85,8 +85,8 @@
"textFontWeight": "bold",
"pattern": "{% if dirForward and dirBackward %}{% else %}arrowHead{% endif %}",
"pattern-pixelSize": "9",
"pattern-repeat": "23",
"pattern-offset": "{% if dirBackward %}2{% else %}18.5{% endif %}",
"pattern-repeat": "35",
"pattern-offset": "{% if dirBackward %}4{% else %}30.5{% endif %}",
"pattern-polygon": "true",
"pattern-angleCorrection": "{% if dirBackward %}180{% else %}0{% endif %}",
"pattern-path-weight": "0",
@ -96,15 +96,15 @@
"style:hover": {
"pane": "hover",
"width": "4",
"dashArray": "{% if hover == 'forward' or hover == 'backward' %}15,8{% endif %}",
"dashOffset": "{% if hover == 'backward' %}16{% else %}0{% endif %}",
"dashArray": "{% if hover == 'forward' or hover == 'backward' %}27,8{% endif %}",
"dashOffset": "{% if hover == 'backward' %}28{% else %}0{% endif %}",
"lineCap": "{% if hover == 'forward' or hover == 'backward' %}butt{% else %}round{% endif %}",
"noClip": "{% if hover == 'forward' or hover == 'backward' %}true{% else %}false{% endif %}",
"color": "black",
"pattern": "{% if hover == 'forward' or hover == 'backward' %}arrowHead{% endif %}",
"pattern-pixelSize": "9",
"pattern-repeat": "23",
"pattern-offset": "{% if hover == 'backward' %}2{% else %}18.5{% endif %}",
"pattern-repeat": "35",
"pattern-offset": "{% if hover == 'backward' %}4{% else %}30.5{% endif %}",
"pattern-polygon": "true",
"pattern-angleCorrection": "{% if hover == 'backward' %}180{% else %}0{% endif %}",
"pattern-path-weight": "0",
@ -114,15 +114,15 @@
"style:selected": {
"pane": "selected",
"width": "4",
"dashArray": "{% if selected == 'forward' or selected == 'backward' %}15,8{% endif %}",
"dashOffset": "{% if selected == 'backward' %}16{% else %}0{% endif %}",
"dashArray": "{% if selected == 'forward' or selected == 'backward' %}27,8{% endif %}",
"dashOffset": "{% if selected == 'backward' %}28{% else %}0{% endif %}",
"lineCap": "{% if selected == 'forward' or selected == 'backward' %}butt{% else %}round{% endif %}",
"noClip": "{% if selected == 'forward' or selected == 'backward' %}true{% else %}false{% endif %}",
"color": "black",
"color": "#3f3f3f",
"pattern": "{% if selected == 'forward' or selected == 'backward' %}arrowHead{% endif %}",
"pattern-pixelSize": "9",
"pattern-repeat": "23",
"pattern-offset": "{% if selected == 'backward' %}2{% else %}18.5{% endif %}",
"pattern-repeat": "35",
"pattern-offset": "{% if selected == 'backward' %}4{% else %}30.5{% endif %}",
"pattern-polygon": "true",
"pattern-angleCorrection": "{% if selected == 'backward' %}180{% else %}0{% endif %}",
"pattern-path-weight": "0",

24
pt.json

@ -146,8 +146,8 @@
"style:way": {
"color": "{{ color|default('#ff0000') }}",
"width": "4",
"dashArray": "{% if not dirForward or not dirBackward %}15,8{% endif %}",
"dashOffset": "{% if dirBackward %}16{% else %}0{% endif %}",
"dashArray": "{% if not dirForward or not dirBackward %}27,8{% endif %}",
"dashOffset": "{% if dirBackward %}28{% else %}0{% endif %}",
"lineCap": "{% if not dirForward or not dirBackward %}butt{% else %}round{% endif %}",
"noClip": "{% if not dirForward or not dirBackward %}true{% else %}false{% endif %}",
"opacity": 1,
@ -157,8 +157,8 @@
"textFontWeight": "bold",
"pattern": "{% if dirForward and dirBackward %}{% else %}arrowHead{% endif %}",
"pattern-pixelSize": "9",
"pattern-repeat": "23",
"pattern-offset": "{% if dirBackward %}2{% else %}18.5{% endif %}",
"pattern-repeat": "35",
"pattern-offset": "{% if dirBackward %}4{% else %}30.5{% endif %}",
"pattern-polygon": "true",
"pattern-angleCorrection": "{% if dirBackward %}180{% else %}0{% endif %}",
"pattern-path-weight": "0",
@ -168,15 +168,15 @@
"style:hover": {
"pane": "hover",
"width": "4",
"dashArray": "{% if hover == 'forward' or hover == 'backward' %}15,8{% endif %}",
"dashOffset": "{% if hover == 'backward' %}16{% else %}0{% endif %}",
"dashArray": "{% if hover == 'forward' or hover == 'backward' %}27,8{% endif %}",
"dashOffset": "{% if hover == 'backward' %}28{% else %}0{% endif %}",
"lineCap": "{% if hover == 'forward' or hover == 'backward' %}butt{% else %}round{% endif %}",
"noClip": "{% if hover == 'forward' or hover == 'backward' %}true{% else %}false{% endif %}",
"color": "black",
"pattern": "{% if hover == 'forward' or hover == 'backward' %}arrowHead{% endif %}",
"pattern-pixelSize": "9",
"pattern-repeat": "23",
"pattern-offset": "{% if hover == 'backward' %}2{% else %}18.5{% endif %}",
"pattern-repeat": "35",
"pattern-offset": "{% if hover == 'backward' %}4{% else %}30.5{% endif %}",
"pattern-polygon": "true",
"pattern-angleCorrection": "{% if hover == 'backward' %}180{% else %}0{% endif %}",
"pattern-path-weight": "0",
@ -186,15 +186,15 @@
"style:selected": {
"pane": "selected",
"width": "4",
"dashArray": "{% if selected == 'forward' or selected == 'backward' %}15,8{% endif %}",
"dashOffset": "{% if selected == 'backward' %}16{% else %}0{% endif %}",
"dashArray": "{% if selected == 'forward' or selected == 'backward' %}27,8{% endif %}",
"dashOffset": "{% if selected == 'backward' %}28{% else %}0{% endif %}",
"lineCap": "{% if selected == 'forward' or selected == 'backward' %}butt{% else %}round{% endif %}",
"noClip": "{% if selected == 'forward' or selected == 'backward' %}true{% else %}false{% endif %}",
"color": "#3f3f3f",
"pattern": "{% if selected == 'forward' or selected == 'backward' %}arrowHead{% endif %}",
"pattern-pixelSize": "9",
"pattern-repeat": "23",
"pattern-offset": "{% if selected == 'backward' %}2{% else %}18.5{% endif %}",
"pattern-repeat": "35",
"pattern-offset": "{% if selected == 'backward' %}4{% else %}30.5{% endif %}",
"pattern-polygon": "true",
"pattern-angleCorrection": "{% if selected == 'backward' %}180{% else %}0{% endif %}",
"pattern-path-weight": "0",

Loading…
Cancel
Save