diff --git a/lgbtq.yaml b/lgbtq.yaml new file mode 100644 index 0000000..a68cad7 --- /dev/null +++ b/lgbtq.yaml @@ -0,0 +1,70 @@ +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') }}: + + {% for k, data in const.lgbtq if not data.hide %} + + + + + {% endfor %} +
+ {{ markerCircle({ fillColor: data.color }) }}
+
{{ tagTrans('lgbtq', k) }}
+const: + type: + amenity=cafe: + icon: + amenity=community_centre: + icon: + amenity=bar: + icon: + amenity=pub: + icon: + amenity=swingerclub: + icon: + amenity=nightclub: + icon: + amenity=restaurant: + icon: + leisure=sauna: + icon: + shop: + icon: + shop=books: + icon: + shop=erotic: + icon: + lgbtq: + primary: + color: '#00ff00' + yes: + color: '#00ff00' + hide: true + friendly: + color: 'green' + hide: true + welcome: + color: 'green' + only: + color: 'cyan'