Browse Source

Leisure: include all features with leisure key

master
parent
commit
0ab4f9528e
  1. 11
      leisure.json

11
leisure.json

@ -15,16 +15,9 @@
"uk": "Дозвілля"
},
"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)$'];)"
"15": "(\nnode[leisure];\nway[leisure];\nrelation[leisure];\n)"
},
"feature": {
"style": {
"color": "green",
"fillColor": "green",
"fillOpacity": "0.2",
"weight": "2"
},
"description": "{% if tags.leisure %}{{ tagTrans('leisure', tags.leisure ) }}{% elseif tags.amenity %}{{ tagTrans('amenity', tags.amenity ) }}{% endif %}"
"description": "{{ tagTrans('leisure', tags.leisure) }}\n{% if tags.leisure == 'pitch' and tags.sport %}\n- {{ tagTransList('sport', tags.sport) }}\n{% endif %}"
}
}
Loading…
Cancel
Save