Browse Source

Switched to icons found in Font Awesome Free.

master
Nathan Hartley 2 years ago
parent
commit
6e12840336
  1. 12
      paddling_amenities.yaml
  2. 22
      paddling_hazards.yaml

12
paddling_amenities.yaml

@ -74,7 +74,7 @@ feature:
</dd> </dd>
</dl> </dl>
{% endif %} {% endif %}
markerSign: '{{ item[''sign''] }}'
markerSign: '{{ item[''sign''] | raw }}'
markerSymbol: | markerSymbol: |
{% if item['sign'] %}{{ markerPointer({ fillColor: '#FFFFFF' }) }}{% endif %} {% if item['sign'] %}{{ markerPointer({ fillColor: '#FFFFFF' }) }}{% endif %}
listMarkerSymbol: | listMarkerSymbol: |
@ -87,19 +87,19 @@ feature:
{% endif %} {% endif %}
const: const:
canoe=portage: canoe=portage:
sign: 🚶🏻
sign: <i class="fas fa-walking"></i>
priority: 2 priority: 2
canoe=put_in: canoe=put_in:
sign: 🛶
sign: <i class="fas fa-expand-alt"></i>
priority: 0 priority: 0
leisure=slipway: leisure=slipway:
sign: 🚣🏻
sign: <i class="fas fa-ship"></i>
priority: 1 priority: 1
shop=shop: shop=shop:
sign: 🛒
sign: <i class="fas fa-store-alt"></i>
priority: 3 priority: 3
shop=rental: shop=rental:
sign: 🛒
sign: <i class="fas fa-store"></i>
priority: 3 priority: 3
waterway=portage: waterway=portage:
sign: sign:

22
paddling_hazards.yaml

@ -16,7 +16,7 @@ feature:
{% set constIndex = (key ~ "=" ~ value) %} {% set constIndex = (key ~ "=" ~ value) %}
{% set item = const[constIndex] %} {% set item = const[constIndex] %}
title: | title: |
{{ item['sign'] }} {{ localizedTag(tags, 'name') | default(localizedTag(tags, 'key')) | default(localizedTag(tags, 'ref')) }}
{{ item['sign'] | raw }} {{ localizedTag(tags, 'name') | default(localizedTag(tags, 'key')) | default(localizedTag(tags, 'ref')) }}
description: | description: |
{{ tagTrans(key, value) }} {{ tagTrans(key, value) }}
body: |- body: |-
@ -39,11 +39,11 @@ feature:
</dd> </dd>
</dl> </dl>
markerSign: '⚠️'
markerSign: <i class="fas fa-exclamation-triangle"></i>
markerSymbol: | markerSymbol: |
{{ markerPointer({ fillColor: '#FFFFFF' }) }}
{{ markerPointer({ fillColor: '#ff6700' }) }}
listMarkerSymbol: | listMarkerSymbol: |
{{ markerCircle({ fillColor: '#FFFFFF' }) }}
{{ markerCircle({ fillColor: '#ff6700' }) }}
priority: |- priority: |-
{% if const[constIndex] is defined %} {% if const[constIndex] is defined %}
{{ const[constIndex]['priority'] }} {{ const[constIndex]['priority'] }}
@ -52,24 +52,24 @@ feature:
{% endif %} {% endif %}
const: const:
waterway=dam: waterway=dam:
sign: '🦫'
sign: <i class="fas fa-sort-amount-down-alt"></i>
priority: 0 priority: 0
waterway=weir: waterway=weir:
sign: '🦫'
sign: <i class="fas fa-sort-amount-up-alt"></i>
priority: 0 priority: 0
waterway=waterfall: waterway=waterfall:
sign: '🌊'
sign: <i class="far fa-chart-bar"></i>
priority: 0 priority: 0
waterway=rapids: waterway=rapids:
sign: '🌊'
sign: <i class="fas fa-water"></i>
priority: 0 priority: 0
waterway=lock: waterway=lock:
sign: '🚪'
sign: <i class="fas fa-lock"></i>
priority: 1 priority: 1
waterway=lock_gate: waterway=lock_gate:
sign: '🚪'
sign: <i class="fas fa-torii-gate"></i>
priority: 1 priority: 1
waterway=sluice_gate: waterway=sluice_gate:
sign: '🦫'
sign: <i class="fas fa-grip-lines"></i>
priority: 0 priority: 0
Loading…
Cancel
Save