Browse Source

cycleway: fix markerSymbol by forcing '0' for offset

cycleway
parent
commit
00fd3e56a2
  1. 3
      cycleway_types.yaml

3
cycleway_types.yaml

@ -138,6 +138,8 @@ feature:
offset: | offset: |
{% if tags.segregated == 'yes' %} {% if tags.segregated == 'yes' %}
{{ const.types[type].width / 2 - 1 }} {{ const.types[type].width / 2 - 1 }}
{% else %}
0
{% endif %} {% endif %}
pattern: | pattern: |
@ -297,6 +299,7 @@ feature:
{{ const.otherInfrastructure[tags.cycleway].lineCap|default('round') }} {{ const.otherInfrastructure[tags.cycleway].lineCap|default('round') }}
dashArray: | dashArray: |
{{ const.otherInfrastructure[tags.cycleway].dashArray|default('') }} {{ const.otherInfrastructure[tags.cycleway].dashArray|default('') }}
offset: 0
zIndex: |- zIndex: |-
{{ tags.layer|default(0) - 0.1 }} {{ tags.layer|default(0) - 0.1 }}

Loading…
Cancel
Save