diff --git a/gastro.json b/gastro.json index 44504c590..480482f96 100644 --- a/gastro.json +++ b/gastro.json @@ -17,7 +17,7 @@ "uk": "Гастрономія" }, "query": { - "16": "(node[amenity~'^(bar|biergarten|cafe|fast_food|ice_cream|pub|restaurant)$'];way[amenity~'^(bar|biergarten|cafe|fast_food|ice_cream|pub|restaurant)$'];relation[amenity~'^(bar|biergarten|cafe|fast_food|ice_cream|pub|restaurant)$'];);" + "15": "(node[amenity~'^(bar|biergarten|cafe|fast_food|ice_cream|pub|restaurant)$'];way[amenity~'^(bar|biergarten|cafe|fast_food|ice_cream|pub|restaurant)$'];relation[amenity~'^(bar|biergarten|cafe|fast_food|ice_cream|pub|restaurant)$'];);" }, "feature": { "description": "{{ tagTrans('amenity', tags.amenity) }}", @@ -30,6 +30,25 @@ " ", "" ], - "markerSign": "{% if tags.amenity=='bar' %}🍸{% elseif tags.amenity=='biergarten'%}🍻{% elseif tags.amenity=='cafe' %}☕{% elseif tags.amenity=='fast_food' %}🍔{% elseif tags.amenity=='ice_cream' %}🍨{% elseif tags.amenity=='pub' %}🍺{% else %}🍴{% endif %}" + "markerSign": "{{ const[tags.amenity]|raw }}" + }, + "info": [ + "", + "{% for value, sign in const %}", + " ", + " ", + " ", + " ", + "{% endfor %}", + "
{{ markerCircle({})|raw }}
{{ sign|raw }}
{{ tagTrans('amenity', value) }}
" + ], + "const": { + "bar": "🍸", + "biergarten": "🍻", + "cafe": "☕", + "fast_food": "🍔", + "ice_cream": "🍨", + "pub": "🍺", + "restaurant": "🍴" } -} +} \ No newline at end of file