From a99c0e3abfe596f6fa13a3b4a91f30eaead959d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= <skunk@xover.mud.at>
Date: Sun, 27 Aug 2017 07:17:08 +0200
Subject: [PATCH] Gastro: filters

---
 gastro.json | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gastro.json b/gastro.json
index 028f8b3..b15b364 100644
--- a/gastro.json
+++ b/gastro.json
@@ -33,5 +33,25 @@
             "</ul>"
         ],
         "markerSign": "{% if tags.amenity=='bar' %}&#127864;{% elseif tags.amenity=='biergarten'%}&#127867;{% elseif tags.amenity=='cafe' %}&#9749;{% elseif tags.amenity=='fast_food' %}&#127828;{% elseif tags.amenity=='ice_cream' %}&#127848;{% elseif tags.amenity=='pub' %}&#127866;{% else %}&#127860;{% endif %}"
+    },
+    "filter": {
+        "amenity": {
+            "name": "tag:amenity",
+            "type": "select",
+            "values": "auto",
+            "op": "="
+        },
+        "cuisine": {
+            "name": "tag:cuisine",
+            "type": "select",
+            "values": [
+                "kebab",
+                "pizza",
+                "sausage",
+                "asian",
+                "chinese"
+            ],
+            "op": "has"
+        }
     }
 }