Add search for filters

This commit is contained in:
Pieter Vander Vennet 2024-08-26 17:24:12 +02:00
parent 1378c1a779
commit c94393e825
24 changed files with 405 additions and 254 deletions

View file

@ -341,6 +341,7 @@
"mappings": [
{
"if": "cuisine=pizza",
"icon": "🍕",
"then": {
"en": "This is a pizzeria",
"nl": "Dit is een pizzeria",
@ -354,6 +355,7 @@
},
{
"if": "cuisine=friture",
"icon": "🍟",
"then": {
"en": "This is a friture",
"nl": "Dit is een frituur",
@ -365,6 +367,7 @@
},
{
"if": "cuisine=pasta",
"icon": "🍝",
"then": {
"en": "Mainly serves pasta",
"nl": "Dit is een pastazaak",
@ -378,6 +381,7 @@
},
{
"if": "cuisine=kebab",
"icon": "🥙",
"then": {
"en": "This is kebab shop",
"nl": "Dit is een kebabzaak",
@ -391,6 +395,7 @@
},
{
"if": "cuisine=sandwich",
"icon": "🥪",
"then": {
"en": "This is a sandwich shop",
"nl": "Dit is een broodjeszaak",
@ -402,6 +407,7 @@
},
{
"if": "cuisine=burger",
"icon": "🍔",
"then": {
"en": "Burgers are served here",
"nl": "Dit is een hamburgerrestaurant",
@ -415,6 +421,7 @@
},
{
"if": "cuisine=sushi",
"icon": "\uD83C\uDF63",
"then": {
"en": "Sushi is served here",
"nl": "Dit is een sushirestaurant",
@ -427,6 +434,7 @@
},
{
"if": "cuisine=coffee",
"icon": "☕",
"then": {
"en": "Coffee is served here",
"nl": "Dit is een koffiezaak",
@ -439,6 +447,7 @@
},
{
"if": "cuisine=italian",
"icon": "🇮🇹",
"then": {
"en": "This is an Italian restaurant (which serves more than pasta and pizza)",
"nl": "Dit is een Italiaans restaurant (dat meer dan enkel pasta of pizza verkoopt)",
@ -451,6 +460,7 @@
},
{
"if": "cuisine=french",
"icon": "🇫🇷",
"then": {
"en": "French dishes are served here",
"nl": "Dit is een Frans restaurant",
@ -463,6 +473,7 @@
},
{
"if": "cuisine=chinese",
"icon":"🇨🇳",
"then": {
"en": "Chinese dishes are served here",
"nl": "Dit is een Chinees restaurant",
@ -475,6 +486,7 @@
},
{
"if": "cuisine=greek",
"icon": "🇬🇷",
"then": {
"en": "Greek dishes are served here",
"nl": "Dit is een Grieks restaurant",
@ -487,6 +499,7 @@
},
{
"if": "cuisine=indian",
"icon": "🇮🇳",
"then": {
"en": "Indian dishes are served here",
"nl": "Dit is een Indisch restaurant",
@ -499,6 +512,7 @@
},
{
"if": "cuisine=turkish",
"icon": "🇹🇷",
"then": {
"en": "Turkish dishes are served here",
"nl": "Dit is een Turks restaurant (dat meer dan enkel kebab verkoopt)",
@ -511,6 +525,7 @@
},
{
"if": "cuisine=thai",
"icon": "🇹🇭",
"then": {
"en": "Thai dishes are served here",
"nl": "Dit is een Thaïs restaurant",
@ -519,9 +534,42 @@
"ca": "Aquí es serveixen plats tailandesos",
"cs": "Podávají se zde thajské pokrmy"
}
},
{
"if": "cuisine=mexican ",
"icon": "\uD83D\uDC14",
"then": {
"en": "Mexican dishes are served here",
"nl": "Dit is een mexicaans restaurant"
}
},
{
"if": "cuisine=japanese ",
"icon": "🇯🇵",
"then": {
"en": "Japanese dishes are served here",
"nl": "Dit is een japans restaurant"
}
},
{
"if": "cuisine=chicken ",
"icon": "\uD83D\uDC14",
"then": {
"en": "Chicken based dishes are served here",
"nl": "Dit is een kiprestaurant"
}
},
{
"if": "cuisine=seafood ",
"icon": "\uD83D\uDC1F",
"then": {
"en": "Seafood dishes are served here",
"nl": "Dit is een vis- en zeerestaurant"
}
}
],
"id": "Cuisine"
"id": "Cuisine",
"filter": true
},
{
"id": "show-menu-image",
@ -1291,6 +1339,7 @@
"es": "Tiene menú vegetariano",
"fr": "A un menu végétarien"
},
"icon": "./assets/layers/food/Vegetarian-mark.svg",
"osmTags": {
"or": [
"diet:vegetarian=yes",