" {% if c in ['opposite_track'] %}{% set backward = 'cycleway' %}{% endif %}",
" {% if c == 'track' %}{% set c = 'cycleway' %}{% endif %}",
" {% if const[c] %}{% if oneway in ['yes', '1', '-1'] %}{% set forward = c %}{% else %}{% set forward = c %}{% set backward = c %}{% endif %}{% endif %}",
"{% endfor %}"
"{% endfor %}",
"",
"{% set left = false %}{% set right = false %}",
"{% set left_direction = 'forward' %}{% set right_direction = 'forward' %}",
"{% if attribute(tags, 'cycleway:left') %}",
" {% set left = attribute(tags, 'cycleway:left') %}",
" {% if left in ['opposite_lane'] %}",
" {% set left = 'lane' %}{% set left_direction = 'backward' %}",
" {% elseif left in ['opposite_track'] %}",
" {% set left = 'cycleway' %}{% set left_direction = 'backward' %}",
" {% elseif left in ['track'] %}",
" {% set left = 'cycleway' %}",
" {% elseif left in ['no'] %}",
" {% set left = 'shared_lane' %}",
" {% endif %}",
" {% if attribute(tags, 'cycleway:left:oneway') == 'no' %}",
"styles":"{% if forward and backward and forward == backward %}default{% else %}{% if forward %},forward{% endif %}{% if backward %},backward{% endif %}{% endif %}",
"styles":[
"{% if left or right %}",
" {% if left and left_direction == 'both' %},left_both{% elseif left %},left{% endif %}",
" {% if right and right_direction == 'both' %},right_both{% elseif right %},right{% endif %}",
"{% else %}",
" {% if forward and backward and forward == backward %}default{% else %}{% if forward %},forward{% endif %}{% if backward %},backward{% endif %}{% endif %}",
"{% endif %}"
],
"style":{
"color":"{{ const[forward].color }}",
"fill":"{% if tags.area == 'yes' %}true{% else %}false{% endif %}",