forked from MapComplete/MapComplete
Small fixes, add filters to shops
This commit is contained in:
parent
b119e1ac1d
commit
df706d2f97
4 changed files with 33 additions and 3 deletions
|
@ -408,5 +408,33 @@
|
|||
"render": "8"
|
||||
}
|
||||
}
|
||||
],
|
||||
"filter": [
|
||||
{
|
||||
"id": "shop-type",
|
||||
"options": [{
|
||||
"fields": [{
|
||||
"name": "search",
|
||||
"type": "string"
|
||||
}],
|
||||
"osmTags": "shop~^.*{search}.*$",
|
||||
"question": {
|
||||
"en": "Only show shops selling {search}"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "shop-name",
|
||||
"options": [{
|
||||
"fields": [{
|
||||
"name": "search",
|
||||
"type": "string"
|
||||
}],
|
||||
"osmTags": "name~^.*{search}.*$",
|
||||
"question": {
|
||||
"en": "Only show shops with name {search}"
|
||||
}
|
||||
}]}
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue