diff --git a/gastro.yaml b/gastro.yaml index 27b655d..da8287d 100644 --- a/gastro.yaml +++ b/gastro.yaml @@ -51,7 +51,8 @@ feature: {% endif %} 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 %} + {% set firstType = tags.amenity|split(';')[0] %} + {{ const.type[firstType]|default(const.type.restaurant)|raw }} filter: amenity: name: | @@ -232,3 +233,11 @@ const: diet:lactose_free: {} diet:halal: {} diet:kosher: {} + type: + restaurant: '🍴' + bar: '🍸' + biergarten: '🍻' + cafe: '☕' + fast_food: '🍔' + ice_cream: '🍨' + pub: '🍺'