Browse Source

parking_lanes: Info, improve styles

parking-lanes
parent
commit
8e2ef8dbbb
  1. 38
      parking_lanes.yaml

38
parking_lanes.yaml

@ -21,6 +21,7 @@ feature:
{% endif %}
</ul>
markerSymbol: ''
listMarkerSymbol: line
details: |
Left: {{ leftType }} / {{ leftOrientation }}<br>
Right: {{ rightType }} / {{ rightOrientation }}
@ -72,23 +73,38 @@ feature:
{{ const.orientation[rightOrientation].width }}
dashArray: |
{{ const.orientation[rightOrientation].dashArray }}
info: |
Parking Type:
<table>
{% for k, def in const.type %}
<tr>
<td>{{ markerLine(evaluate({ 'parking:both': k, 'parking:both:orientation': 'parallel' })) }}</td>
<td>{{ k }}</td>
</tr>
{% endfor %}
</table>
Parking Orientation:
<table>
{% for k, def in const.orientation %}
<tr>
<td>{{ markerLine(evaluate({ 'parking:both': 'lane', 'parking:both:orientation': k })) }}</td>
<td>{{ k }}</td>
</tr>
{% endfor %}
</table>
const:
type:
'no':
width: 6
dashArray: '6,10'
kerbPosition: 0
unknown:
width: 3
dashArray: '1,1'
kerbPosition: 0
lane:
width: 2
dashArray: ''
kerbPosition: 1
street_side:
width: 2
dashArray: '10,5'
dashArray: '5,5'
kerbPosition: 1
half_on_kerb:
width: 2
@ -100,16 +116,17 @@ const:
kerbPosition: 0
shoulder:
width: 3
dashArray: '10,3'
dashArray: '5,5'
kerbPosition: 0
separate:
width: 0
dashArray: ''
kerbPosition: 0
orientation:
unknown:
width: 8
dashArray: '10,3'
width: 3
dashArray: '1,1'
kerbPosition: 0
orientation:
parallel:
width: 5
dashArray: '10,3'
@ -119,3 +136,6 @@ const:
perpendicular:
width: 12
dashArray: '3,3'
unknown:
width: 8
dashArray: '1,1'
Loading…
Cancel
Save