Main categories of OpenStreetBrowser with support for whitewater
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.

32 lines
1.2 KiB

8 years ago
  1. {
  2. "name": {
  3. "ast": "Recréu",
  4. "cs": "Volný čas",
  5. "de": "Freizeit",
  6. "el": "Αναψυχή",
  7. "en": "Leisure",
  8. "fr": "Loisirs",
  9. "it": "Tempo libero",
  10. "ja": "レジャー",
  11. "nl": "Vrije tijd",
  12. "ro": "Timp liber",
  13. "ru": "Досуг",
  14. "uk": "Дозвілля"
  15. },
  16. "type": "overpass",
  17. "query": {
  18. "14": "(way[leisure~'^(park|common)$'];relation[leisure='^(park|common)$'];)",
  19. "16": "(node[amenity~'^(bench|swimming_pool)$'];way[leisure~'^(park|common|nature_reserve|swimming_pool)$'];relation[leisure='^(park|common|nature_reserve|swimming_pool)$'];)"
  20. },
  21. "minZoom": 14,
  22. "feature": {
  23. "style": {
  24. "color": "green",
  25. "fillColor": "green",
  26. "fillOpacity": 0.2,
  27. "weight": 2
  28. },
  29. "body": "{% if tags.leisure %}{{ tagTrans('leisure', tags.leisure ) }}{% elseif tags.amenity %}{{ tagTrans('amenity', tags.amenity ) }}{% endif %}",
  30. "description": "{% if tags.leisure %}{{ tagTrans('leisure', tags.leisure ) }}{% elseif tags.amenity %}{{ tagTrans('amenity', tags.amenity ) }}{% endif %}"
  31. }
  32. }