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 %} {% endif %}
</ul> </ul>
markerSymbol: '' markerSymbol: ''
listMarkerSymbol: line
details: | details: |
Left: {{ leftType }} / {{ leftOrientation }}<br> Left: {{ leftType }} / {{ leftOrientation }}<br>
Right: {{ rightType }} / {{ rightOrientation }} Right: {{ rightType }} / {{ rightOrientation }}
@ -72,23 +73,38 @@ feature:
{{ const.orientation[rightOrientation].width }} {{ const.orientation[rightOrientation].width }}
dashArray: | dashArray: |
{{ const.orientation[rightOrientation].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: const:
type: type:
'no': 'no':
width: 6 width: 6
dashArray: '6,10' dashArray: '6,10'
kerbPosition: 0 kerbPosition: 0
unknown:
width: 3
dashArray: '1,1'
kerbPosition: 0
lane: lane:
width: 2 width: 2
dashArray: '' dashArray: ''
kerbPosition: 1 kerbPosition: 1
street_side: street_side:
width: 2 width: 2
dashArray: '10,5'
dashArray: '5,5'
kerbPosition: 1 kerbPosition: 1
half_on_kerb: half_on_kerb:
width: 2 width: 2
@ -100,16 +116,17 @@ const:
kerbPosition: 0 kerbPosition: 0
shoulder: shoulder:
width: 3 width: 3
dashArray: '10,3'
dashArray: '5,5'
kerbPosition: 0 kerbPosition: 0
separate: separate:
width: 0 width: 0
dashArray: '' dashArray: ''
kerbPosition: 0 kerbPosition: 0
orientation:
unknown: unknown:
width: 8
dashArray: '10,3'
width: 3
dashArray: '1,1'
kerbPosition: 0
orientation:
parallel: parallel:
width: 5 width: 5
dashArray: '10,3' dashArray: '10,3'
@ -119,3 +136,6 @@ const:
perpendicular: perpendicular:
width: 12 width: 12
dashArray: '3,3' dashArray: '3,3'
unknown:
width: 8
dashArray: '1,1'
Loading…
Cancel
Save