Browse Source

cycleway_types: improve bridge rendering

cycleway
parent
commit
ba35dc1d73
  1. 14
      cycleway_types.yaml

14
cycleway_types.yaml

@ -82,7 +82,7 @@ feature:
styles: |
{% if tags.bridge and tags.bridge != 'no' %}
bridge,
bridge_outer,bridge_inner,
{% endif %}
{% if const.otherInfrastructure[tags.cycleway|default(tags.path)] %}
@ -303,11 +303,19 @@ feature:
zIndex: |-
{{ tags.layer|default(0) - 0.1 }}
style:bridge:
style:bridge_outer:
width: |
{{ const.types[type].width|default(5) + 4 }}
{{ const.types[type].width|default(5) + 8 }}
color: black
lineCap: butt
zIndex: |-
{{ tags.layer|default(0) - 0.21 }}
style:bridge_inner:
width: |
{{ const.types[type].width|default(5) + 4 }}
color: white
lineCap: butt
zIndex: |-
{{ tags.layer|default(0) - 0.2 }}

Loading…
Cancel
Save