diff --git a/leisure.json b/leisure.json index 2261260..dd15a7f 100644 --- a/leisure.json +++ b/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 %}" } }