A repository for testing purposes.
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

  1. query:
  2. 14: nwr[lgbtq][lgbtq!=no]
  3. feature:
  4. pre: |
  5. {% set type = 'other' %}
  6. {% if tags.amenity %}{% set type = 'amenity=' ~ tags.amenity %}
  7. {% elseif tags.leisure %}{% set type = 'leisure=' ~ tags.leisure %}
  8. {% elseif tags.shop %}{% set type = 'shop=' ~ tags.shop %}
  9. {% endif %}
  10. description: |
  11. {% if tags.amenity %}{{ tagTrans('amenity', tags.amenity) }}
  12. {% elseif tags.leisure %}{{ tagTrans('leisure', tags.leisure) }}
  13. {% elseif tags.shop %}{{ tagTrans('shop', tags.shop) }}
  14. {% endif %}
  15. markerSymbol: |
  16. {{ markerPointer({ fillColor: const.lgbtq[tags.lgbtq].color|default('red') }) }}
  17. listMarkerSymbol: |
  18. {{ markerCircle({ fillColor: const.lgbtq[tags.lgbtq].color|default('red') }) }}
  19. markerSign: |
  20. {% set key = type|split('=')[0] %}
  21. {{ const.type[type].icon|default(const.type[key].icon)|raw }}
  22. info: |
  23. {{ keyTrans('lgbtq') }}:
  24. <table>
  25. {% for k, data in const.lgbtq if not data.hide %}
  26. <tr>
  27. <td>
  28. {{ markerCircle({ fillColor: data.color }) }}<div class='sign'></div>
  29. </td>
  30. <td>{{ tagTrans('lgbtq', k) }}</td>
  31. </tr>
  32. {% endfor %}
  33. </table>
  34. const:
  35. type:
  36. amenity=cafe:
  37. icon: <i class="fas fa-coffee"></i>
  38. amenity=community_centre:
  39. icon: <i class="fas fa-users"></i>
  40. amenity=bar:
  41. icon: <i class="fas fa-glass-martini-alt"></i>
  42. amenity=pub:
  43. icon: <i class="fas fa-beer"></i>
  44. amenity=swingerclub:
  45. icon: <img data-src="maki:playground">
  46. amenity=nightclub:
  47. icon: <i class="fas fa-glass-cheers"></i>
  48. amenity=restaurant:
  49. icon: <i class="fas fa-utensils"></i>
  50. leisure=sauna:
  51. icon: <i class="fas fa-hot-tub"></i>
  52. shop:
  53. icon: <i class="fas fa-shopping-basket"></i>
  54. shop=books:
  55. icon: <i class="fas fa-book"></i>
  56. shop=erotic:
  57. icon: <i class="fas fa-shopping-basket"></i>
  58. lgbtq:
  59. primary:
  60. color: '#00ff00'
  61. yes:
  62. color: '#00ff00'
  63. hide: true
  64. friendly:
  65. color: 'green'
  66. hide: true
  67. welcome:
  68. color: 'green'
  69. only:
  70. color: 'cyan'