Browse Source

cycle_directions-pattern: crisper arrows

name-etym
parent
commit
237da4bd7d
  1. 8
      cycle_directions-pattern.json

8
cycle_directions-pattern.json

@ -30,11 +30,12 @@
"style": {
"width": "0",
"pattern": "arrowHead",
"pattern-offset": "14",
"pattern-offset": "17",
"pattern-repeat": "25",
"pattern-polygon": "true",
"pattern-pixelSize": "{% if tags.highway == 'cycleway' %}5{% else %}7{% endif %}",
"pattern-pixelSize": "{% if tags.highway == 'cycleway' %}7{% else %}9{% endif %}",
"pattern-path-color": "{% if tags.highway == 'cycleway' %}#007f00{% else %}#000000{% endif %}",
"pattern-path-width": "1",
"pattern-path-fillOpacity": "1",
"pattern-angleCorrection": "{% if oneway == -1 %}180{% else %}0{% endif %}"
},
@ -45,7 +46,8 @@
"pattern-offset": "0",
"pattern-repeat": "25",
"pattern-polygon": "true",
"pattern-pixelSize": "5",
"pattern-pixelSize": "7",
"pattern-path-width": "1",
"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",

Loading…
Cancel
Save