Browse Source

footways: bugfix

sidewalks-category
parent
commit
140ece90fe
  1. 3
      footways.yaml

3
footways.yaml

@ -77,6 +77,7 @@ feature:
{% if attribute(tags, 'sidewalk:both') %} {% if attribute(tags, 'sidewalk:both') %}
{% set sidewalk_left = attribute(tags, 'sidewalk:both') %} {% set sidewalk_left = attribute(tags, 'sidewalk:both') %}
{% set sidewalk_right = attribute(tags, 'sidewalk:both') %}
{% set sides = sides|merge(['leftr', 'rightr']) %} {% set sides = sides|merge(['leftr', 'rightr']) %}
{% endif %} {% endif %}
@ -264,7 +265,7 @@ feature:
opacity: 0.3, opacity: 0.3,
dashArray: '1,10', dashArray: '1,10',
lineCap: butt, lineCap: butt,
color: sidewalk_left in ['no', 'none'] ? '#000000' : const.categories.sidewalk.color
color: sidewalk_right in ['no', 'none'] ? '#000000' : const.categories.sidewalk.color
}, },
}) }} }) }}
{% endif %} {% endif %}

Loading…
Cancel
Save