Main categories of OpenStreetBrowser
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.

18 lines
833 B

8 years ago
  1. {
  2. "type": "overpass",
  3. "query": {
  4. "14": "(way[leisure~'^(park|common)$'];relation[leisure='^(park|common)$'];)",
  5. "16": "(node[amenity~'^(bench|swimming_pool)$'];way[leisure~'^(park|common|nature_reserve|swimming_pool)$'];relation[leisure='^(park|common|nature_reserve|swimming_pool)$'];)"
  6. },
  7. "minZoom": 14,
  8. "feature": {
  9. "style": {
  10. "color": "green",
  11. "fillColor": "green",
  12. "fillOpacity": 0.2,
  13. "weight": 2
  14. },
  15. "body": "{% if tags.leisure %}{{ tagTrans('leisure', tags.leisure ) }}{% elseif tags.amenity %}{{ tagTrans('amenity', tags.amenity ) }}{% endif %}",
  16. "description": "{% if tags.leisure %}{{ tagTrans('leisure', tags.leisure ) }}{% elseif tags.amenity %}{{ tagTrans('amenity', tags.amenity ) }}{% endif %}"
  17. }
  18. }