Browse Source

pt, cycle_routes: longer arrows

master
parent
commit
0e11d00ed8
  1. 26
      cycle_routes.json
  2. 24
      pt.json

26
cycle_routes.json

@ -74,8 +74,8 @@
"style": { "style": {
"color": "{{ const[network].color }}", "color": "{{ const[network].color }}",
"width": "4", "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 %}", "lineCap": "{% if not dirForward or not dirBackward %}butt{% else %}round{% endif %}",
"noClip": "{% if not dirForward or not dirBackward %}true{% else %}false{% endif %}", "noClip": "{% if not dirForward or not dirBackward %}true{% else %}false{% endif %}",
"opacity": 1, "opacity": 1,
@ -85,8 +85,8 @@
"textFontWeight": "bold", "textFontWeight": "bold",
"pattern": "{% if dirForward and dirBackward %}{% else %}arrowHead{% endif %}", "pattern": "{% if dirForward and dirBackward %}{% else %}arrowHead{% endif %}",
"pattern-pixelSize": "9", "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-polygon": "true",
"pattern-angleCorrection": "{% if dirBackward %}180{% else %}0{% endif %}", "pattern-angleCorrection": "{% if dirBackward %}180{% else %}0{% endif %}",
"pattern-path-weight": "0", "pattern-path-weight": "0",
@ -96,15 +96,15 @@
"style:hover": { "style:hover": {
"pane": "hover", "pane": "hover",
"width": "4", "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 %}", "lineCap": "{% if hover == 'forward' or hover == 'backward' %}butt{% else %}round{% endif %}",
"noClip": "{% if hover == 'forward' or hover == 'backward' %}true{% else %}false{% endif %}", "noClip": "{% if hover == 'forward' or hover == 'backward' %}true{% else %}false{% endif %}",
"color": "black", "color": "black",
"pattern": "{% if hover == 'forward' or hover == 'backward' %}arrowHead{% endif %}", "pattern": "{% if hover == 'forward' or hover == 'backward' %}arrowHead{% endif %}",
"pattern-pixelSize": "9", "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-polygon": "true",
"pattern-angleCorrection": "{% if hover == 'backward' %}180{% else %}0{% endif %}", "pattern-angleCorrection": "{% if hover == 'backward' %}180{% else %}0{% endif %}",
"pattern-path-weight": "0", "pattern-path-weight": "0",
@ -114,15 +114,15 @@
"style:selected": { "style:selected": {
"pane": "selected", "pane": "selected",
"width": "4", "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 %}", "lineCap": "{% if selected == 'forward' or selected == 'backward' %}butt{% else %}round{% endif %}",
"noClip": "{% if selected == 'forward' or selected == 'backward' %}true{% else %}false{% 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": "{% if selected == 'forward' or selected == 'backward' %}arrowHead{% endif %}",
"pattern-pixelSize": "9", "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-polygon": "true",
"pattern-angleCorrection": "{% if selected == 'backward' %}180{% else %}0{% endif %}", "pattern-angleCorrection": "{% if selected == 'backward' %}180{% else %}0{% endif %}",
"pattern-path-weight": "0", "pattern-path-weight": "0",

24
pt.json

@ -146,8 +146,8 @@
"style:way": { "style:way": {
"color": "{{ color|default('#ff0000') }}", "color": "{{ color|default('#ff0000') }}",
"width": "4", "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 %}", "lineCap": "{% if not dirForward or not dirBackward %}butt{% else %}round{% endif %}",
"noClip": "{% if not dirForward or not dirBackward %}true{% else %}false{% endif %}", "noClip": "{% if not dirForward or not dirBackward %}true{% else %}false{% endif %}",
"opacity": 1, "opacity": 1,
@ -157,8 +157,8 @@
"textFontWeight": "bold", "textFontWeight": "bold",
"pattern": "{% if dirForward and dirBackward %}{% else %}arrowHead{% endif %}", "pattern": "{% if dirForward and dirBackward %}{% else %}arrowHead{% endif %}",
"pattern-pixelSize": "9", "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-polygon": "true",
"pattern-angleCorrection": "{% if dirBackward %}180{% else %}0{% endif %}", "pattern-angleCorrection": "{% if dirBackward %}180{% else %}0{% endif %}",
"pattern-path-weight": "0", "pattern-path-weight": "0",
@ -168,15 +168,15 @@
"style:hover": { "style:hover": {
"pane": "hover", "pane": "hover",
"width": "4", "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 %}", "lineCap": "{% if hover == 'forward' or hover == 'backward' %}butt{% else %}round{% endif %}",
"noClip": "{% if hover == 'forward' or hover == 'backward' %}true{% else %}false{% endif %}", "noClip": "{% if hover == 'forward' or hover == 'backward' %}true{% else %}false{% endif %}",
"color": "black", "color": "black",
"pattern": "{% if hover == 'forward' or hover == 'backward' %}arrowHead{% endif %}", "pattern": "{% if hover == 'forward' or hover == 'backward' %}arrowHead{% endif %}",
"pattern-pixelSize": "9", "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-polygon": "true",
"pattern-angleCorrection": "{% if hover == 'backward' %}180{% else %}0{% endif %}", "pattern-angleCorrection": "{% if hover == 'backward' %}180{% else %}0{% endif %}",
"pattern-path-weight": "0", "pattern-path-weight": "0",
@ -186,15 +186,15 @@
"style:selected": { "style:selected": {
"pane": "selected", "pane": "selected",
"width": "4", "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 %}", "lineCap": "{% if selected == 'forward' or selected == 'backward' %}butt{% else %}round{% endif %}",
"noClip": "{% if selected == 'forward' or selected == 'backward' %}true{% else %}false{% endif %}", "noClip": "{% if selected == 'forward' or selected == 'backward' %}true{% else %}false{% endif %}",
"color": "#3f3f3f", "color": "#3f3f3f",
"pattern": "{% if selected == 'forward' or selected == 'backward' %}arrowHead{% endif %}", "pattern": "{% if selected == 'forward' or selected == 'backward' %}arrowHead{% endif %}",
"pattern-pixelSize": "9", "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-polygon": "true",
"pattern-angleCorrection": "{% if selected == 'backward' %}180{% else %}0{% endif %}", "pattern-angleCorrection": "{% if selected == 'backward' %}180{% else %}0{% endif %}",
"pattern-path-weight": "0", "pattern-path-weight": "0",

Loading…
Cancel
Save