|
@ -17,7 +17,7 @@ |
|
|
"uk": "Гастрономія" |
|
|
"uk": "Гастрономія" |
|
|
}, |
|
|
}, |
|
|
"query": { |
|
|
"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": { |
|
|
"feature": { |
|
|
"description": "{{ tagTrans('amenity', tags.amenity) }}", |
|
|
"description": "{{ tagTrans('amenity', tags.amenity) }}", |
|
@ -30,6 +30,25 @@ |
|
|
" </li>", |
|
|
" </li>", |
|
|
"</ul>" |
|
|
"</ul>" |
|
|
], |
|
|
], |
|
|
"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": [ |
|
|
|
|
|
"<table>", |
|
|
|
|
|
"{% for value, sign in const %}", |
|
|
|
|
|
" <tr>", |
|
|
|
|
|
" <td>{{ markerCircle({})|raw }}<div class='sign'>{{ sign|raw }}</div></td>", |
|
|
|
|
|
" <td>{{ tagTrans('amenity', value) }}</td>", |
|
|
|
|
|
" </tr>", |
|
|
|
|
|
"{% endfor %}", |
|
|
|
|
|
"</table>" |
|
|
|
|
|
], |
|
|
|
|
|
"const": { |
|
|
|
|
|
"bar": "🍸", |
|
|
|
|
|
"biergarten": "🍻", |
|
|
|
|
|
"cafe": "☕", |
|
|
|
|
|
"fast_food": "🍔", |
|
|
|
|
|
"ice_cream": "🍨", |
|
|
|
|
|
"pub": "🍺", |
|
|
|
|
|
"restaurant": "🍴" |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |