diff --git a/assets/themes/food/food.json b/assets/themes/food/food.json index f67168967..f0c9e0b00 100644 --- a/assets/themes/food/food.json +++ b/assets/themes/food/food.json @@ -30,7 +30,8 @@ }, "icon": "./assets/layers/food/restaurant.svg", "layers": [ - "food" + "food", + "ice_cream" ], "widenFactor": 3 -} \ No newline at end of file +} diff --git a/assets/themes/fritures/fritures.json b/assets/themes/fritures/fritures.json index ed43b57a6..27a870c7c 100644 --- a/assets/themes/fritures/fritures.json +++ b/assets/themes/fritures/fritures.json @@ -56,7 +56,32 @@ } ] } - } + }, + "filter+": [ + { + "id": "oil-type", + "options": [ + { + "question": { + "en": "No oil type preference" + } + }, + { + "question": { + "en": "Only show fritures using vegetable oil" + }, + "osmTags": "friture:oil=vegetable" + }, + { + "question": { + "en": "Only show fritures using animal oil" + }, + "osmTags": "friture:oil=animal" + + } + ] + } + ] } }, { @@ -69,4 +94,4 @@ } ], "widenFactor": 3 -} \ No newline at end of file +} diff --git a/langs/themes/en.json b/langs/themes/en.json index 70a64aef9..98c79d180 100644 --- a/langs/themes/en.json +++ b/langs/themes/en.json @@ -781,6 +781,21 @@ "layers": { "0": { "override": { + "filter+": { + "0": { + "options": { + "0": { + "question": "No oil type preference" + }, + "1": { + "question": "Only show fritures using vegetable oil" + }, + "2": { + "question": "Only show fritures using animal oil" + } + } + } + }, "name": "Fries shop" } }