You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
70 lines
2.0 KiB
70 lines
2.0 KiB
query:
|
|
14: nwr[lgbtq][lgbtq!=no]
|
|
feature:
|
|
pre: |
|
|
{% set type = 'other' %}
|
|
{% if tags.amenity %}{% set type = 'amenity=' ~ tags.amenity %}
|
|
{% elseif tags.leisure %}{% set type = 'leisure=' ~ tags.leisure %}
|
|
{% elseif tags.shop %}{% set type = 'shop=' ~ tags.shop %}
|
|
{% endif %}
|
|
description: |
|
|
{% if tags.amenity %}{{ tagTrans('amenity', tags.amenity) }}
|
|
{% elseif tags.leisure %}{{ tagTrans('leisure', tags.leisure) }}
|
|
{% elseif tags.shop %}{{ tagTrans('shop', tags.shop) }}
|
|
{% endif %}
|
|
markerSymbol: |
|
|
{{ markerPointer({ fillColor: const.lgbtq[tags.lgbtq].color|default('red') }) }}
|
|
listMarkerSymbol: |
|
|
{{ markerCircle({ fillColor: const.lgbtq[tags.lgbtq].color|default('red') }) }}
|
|
markerSign: |
|
|
{% set key = type|split('=')[0] %}
|
|
{{ const.type[type].icon|default(const.type[key].icon)|raw }}
|
|
info: |
|
|
{{ keyTrans('lgbtq') }}:
|
|
<table>
|
|
{% for k, data in const.lgbtq if not data.hide %}
|
|
<tr>
|
|
<td>
|
|
{{ markerCircle({ fillColor: data.color }) }}<div class='sign'></div>
|
|
</td>
|
|
<td>{{ tagTrans('lgbtq', k) }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
const:
|
|
type:
|
|
amenity=cafe:
|
|
icon: <i class="fas fa-coffee"></i>
|
|
amenity=community_centre:
|
|
icon: <i class="fas fa-users"></i>
|
|
amenity=bar:
|
|
icon: <i class="fas fa-glass-martini-alt"></i>
|
|
amenity=pub:
|
|
icon: <i class="fas fa-beer"></i>
|
|
amenity=swingerclub:
|
|
icon: <img data-src="maki:playground">
|
|
amenity=nightclub:
|
|
icon: <i class="fas fa-glass-cheers"></i>
|
|
amenity=restaurant:
|
|
icon: <i class="fas fa-utensils"></i>
|
|
leisure=sauna:
|
|
icon: <i class="fas fa-hot-tub"></i>
|
|
shop:
|
|
icon: <i class="fas fa-shopping-basket"></i>
|
|
shop=books:
|
|
icon: <i class="fas fa-book"></i>
|
|
shop=erotic:
|
|
icon: <i class="fas fa-shopping-basket"></i>
|
|
lgbtq:
|
|
primary:
|
|
color: '#00ff00'
|
|
yes:
|
|
color: '#00ff00'
|
|
hide: true
|
|
friendly:
|
|
color: 'green'
|
|
hide: true
|
|
welcome:
|
|
color: 'green'
|
|
only:
|
|
color: 'cyan'
|