Browse Source

parking_lanes: show separate type

parking-lanes
parent
commit
5a1aa7f9b2
  1. 36
      parking_lanes.yaml

36
parking_lanes.yaml

@ -27,13 +27,19 @@ feature:
Right: {{ rightType }} / {{ rightOrientation }} Right: {{ rightType }} / {{ rightOrientation }}
styles: | styles: |
default default
,leftType
,rightType
{% if leftType not in ['no', 'separate'] %}
,leftOrientation
{% if leftType == 'separate' %}
,leftSeparate
{% elseif leftType in ['no', 'unknown'] %}
,leftType
{% else %}
,leftType,leftOrientation
{% endif %} {% endif %}
{% if rightType not in ['no', 'separate'] %}
,rightOrientation
{% if rightType == 'separate' %}
,rightSeparate
{% elseif rightType in ['no', 'unknown'] %}
,rightType
{% else %}
,rightType,rightOrientation
{% endif %} {% endif %}
style: style:
color: '#7f7f7f' color: '#7f7f7f'
@ -55,6 +61,15 @@ feature:
{{ const.orientation[leftOrientation].width }} {{ const.orientation[leftOrientation].width }}
dashArray: | dashArray: |
{{ const.orientation[leftOrientation].dashArray }} {{ const.orientation[leftOrientation].dashArray }}
style:leftSeparate:
width: 0
pattern: arrowHead
pattern-angleCorrection: -90
pattern-pixelSize: 7
pattern-lineOffset: -10
pattern-polygon: false
pattern-repeat: 15
pattern-path-color: red
style:rightType: style:rightType:
color: blue color: blue
offset: | offset: |
@ -73,6 +88,15 @@ feature:
{{ const.orientation[rightOrientation].width }} {{ const.orientation[rightOrientation].width }}
dashArray: | dashArray: |
{{ const.orientation[rightOrientation].dashArray }} {{ const.orientation[rightOrientation].dashArray }}
style:rightSeparate:
width: 0
pattern: arrowHead
pattern-angleCorrection: 90
pattern-pixelSize: 7
pattern-lineOffset: 10
pattern-polygon: false
pattern-repeat: 15
pattern-path-color: blue
info: | info: |
Parking Type: Parking Type:
<table> <table>

Loading…
Cancel
Save