diff --git a/public.json b/public.json
index c7b7ad26..b13b8ae2 100644
--- a/public.json
+++ b/public.json
@@ -16,13 +16,42 @@
"uk": "Громадські місця"
},
"query": {
- "12": "(node[amenity~'^(court_house|embassy|public_building|townhall)$'];way[amenity~'^(court_house|embassy|public_building|townhall)$'];relation[amenity~'^(court_house|embassy|public_building|townhall)$'];node[amenity=recycling][recyling_type=centre];way[amenity=recycling][recyling_type=centre];relation[amenity=recycling][recyling_type=centre];);",
- "16": "(node[amenity~'^(court_house|embassy|public_building|townhall|clock|drinking_water|recycling)$'];way[amenity~'^(court_house|embassy|public_building|townhall|recycling)$'];relation[amenity~'^(court_house|embassy|public_building|townhall|recycling)$'];node[drinking_water]);"
+ "12": [
+ "(",
+ "node[amenity~'^(courthouse|embassy|public_building|townhall)$'];",
+ "way[amenity~'^(courthouse|embassy|public_building|townhall)$'];",
+ "relation[amenity~'^(courthouse|embassy|public_building|townhall)$'];",
+ "node[amenity=recycling][recyling_type=centre];",
+ "way[amenity=recycling][recyling_type=centre];",
+ "relation[amenity=recycling][recyling_type=centre];",
+ ");"
+ ],
+ "16": [
+ "(",
+ "node[amenity~'^(courthouse|embassy|public_building|townhall|clock|drinking_water|recycling)$'];",
+ "way[amenity~'^(courthouse|embassy|public_building|townhall|recycling)$'];",
+ "relation[amenity~'^(courthouse|embassy|public_building|townhall|recycling)$'];",
+ "node[drinking_water];",
+ ");"
+ ]
},
"feature": {
"title": "{{ tags.name|default(tags.operator)|default(tagTrans('amenity', tags.amenity)) }}",
"description": "{{ tagTrans('amenity', tags.amenity) }}",
"body": "{% if tags.operator %}{{ keyTrans('operator') }}: {{ tags.operator }}
{% endif %}",
- "markerSign": "{% if tags.amenity=='post_office' %}🏤{% elseif tags.amenity=='post_box'%}📮{% elseif tags.amenity=='internet_cafe' %}💻{% elseif tags.amenity=='telephone' %}✆{% endif %}"
+ "markerSign": [
+ "{% if const[tags.amenity] %}",
+ "{{ attribute(const, tags.amenity)|raw }}",
+ "{% endif %}"
+ ]
+ },
+ "const": {
+ "courthouse": "⚖",
+ "clock": "",
+ "drinking_water": "",
+ "embassy": "",
+ "public_building": "",
+ "recycling": "",
+ "townhall": ""
}
-}
+}
\ No newline at end of file