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.
 
 

32 lines
1.2 KiB

{
"name": {
"ast": "Recréu",
"cs": "Volný čas",
"de": "Freizeit",
"el": "Αναψυχή",
"en": "Leisure",
"fr": "Loisirs",
"it": "Tempo libero",
"ja": "レジャー",
"nl": "Vrije tijd",
"ro": "Timp liber",
"ru": "Досуг",
"uk": "Дозвілля"
},
"type": "overpass",
"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,
"feature": {
"style": {
"color": "green",
"fillColor": "green",
"fillOpacity": 0.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 %}"
}
}