Browse Source

Include more objects in leisure category

fossil
parent
commit
2e61c5ea09
  1. 9
      leisure.json

9
leisure.json

@ -1,6 +1,9 @@
{ {
"type": "overpass", "type": "overpass",
"query": "(way[leisure=park];relation[leisure=park];)",
"query": {
"14": "(way[leisure~'^(park|common)$'];relation[leisure='^(park|common)$'];)",
"16": "(node[amenity~'^(bench|swimming_pool)$'];way[leisure~'^(park|common|nature_reserve|swimming_pool)$'];relation[leisure='^(park|common|nature_reserve|swimming_pool)$'];)"
},
"minZoom": 14, "minZoom": 14,
"feature": { "feature": {
"style": { "style": {
@ -8,6 +11,8 @@
"fillColor": "green", "fillColor": "green",
"fillOpacity": 0.2, "fillOpacity": 0.2,
"weight": 2 "weight": 2
}
},
"body": "{% if tags.leisure %}{{ tagTrans('leisure', tags.leisure ) }}{% elseif tags.amenity %}{{ tagTrans('amenity', tags.amenity ) }}{% endif %}",
"description": "{% if tags.leisure %}{{ tagTrans('leisure', tags.leisure ) }}{% elseif tags.amenity %}{{ tagTrans('amenity', tags.amenity ) }}{% endif %}"
} }
} }
Loading…
Cancel
Save