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