Themes: add filter for vegetable oil to fritures theme
This commit is contained in:
parent
6da72b80ef
commit
721a930d76
3 changed files with 45 additions and 4 deletions
|
@ -30,7 +30,8 @@
|
|||
},
|
||||
"icon": "./assets/layers/food/restaurant.svg",
|
||||
"layers": [
|
||||
"food"
|
||||
"food",
|
||||
"ice_cream"
|
||||
],
|
||||
"widenFactor": 3
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue