forked from MapComplete/MapComplete
Fix bbox bug, add ids to filters, add filter state to the URL
This commit is contained in:
parent
38037014b0
commit
0a9e7c0b36
23 changed files with 248 additions and 59 deletions
|
@ -258,6 +258,7 @@
|
|||
"wayHandling": 1,
|
||||
"filter": [
|
||||
{
|
||||
"id": "wheelchair",
|
||||
"options": [
|
||||
{
|
||||
"question": {
|
||||
|
@ -275,6 +276,7 @@
|
|||
]
|
||||
},
|
||||
{
|
||||
"id": "shelter",
|
||||
"options": [
|
||||
{
|
||||
"question": {
|
||||
|
|
|
@ -170,6 +170,7 @@
|
|||
],
|
||||
"filter": [
|
||||
{
|
||||
"id": "opened-now",
|
||||
"options": [
|
||||
{
|
||||
"question": {
|
||||
|
|
|
@ -2627,6 +2627,7 @@
|
|||
"wayHandling": 1,
|
||||
"filter": [
|
||||
{
|
||||
"id": "vehicle-type",
|
||||
"options": [
|
||||
{
|
||||
"question": {
|
||||
|
@ -2656,6 +2657,7 @@
|
|||
]
|
||||
},
|
||||
{
|
||||
"id": "working",
|
||||
"options": [
|
||||
{
|
||||
"question": {
|
||||
|
@ -2671,6 +2673,7 @@
|
|||
]
|
||||
},
|
||||
{
|
||||
"id": "connection_type",
|
||||
"options": [
|
||||
{
|
||||
"question": {
|
||||
|
|
|
@ -648,6 +648,7 @@
|
|||
"wayHandling": 1,
|
||||
"filter": [
|
||||
{
|
||||
"id": "vehicle-type",
|
||||
"options": [
|
||||
{
|
||||
"question": {
|
||||
|
@ -677,6 +678,7 @@
|
|||
]
|
||||
},
|
||||
{
|
||||
"id": "working",
|
||||
"options": [
|
||||
{
|
||||
"question": {
|
||||
|
|
|
@ -242,6 +242,7 @@ function run(file, protojson) {
|
|||
})
|
||||
|
||||
proto["filter"].push({
|
||||
id:"connection_type",
|
||||
options: filterOptions
|
||||
})
|
||||
|
||||
|
|
|
@ -560,6 +560,7 @@
|
|||
],
|
||||
"filter": [
|
||||
{
|
||||
"id": "opened-now",
|
||||
"options": [
|
||||
{
|
||||
"question": {
|
||||
|
@ -571,6 +572,7 @@
|
|||
]
|
||||
},
|
||||
{
|
||||
"id": "vegetarian",
|
||||
"options": [
|
||||
{
|
||||
"question": {
|
||||
|
@ -589,6 +591,7 @@
|
|||
]
|
||||
},
|
||||
{
|
||||
"id": "vegan",
|
||||
"options": [
|
||||
{
|
||||
"question": {
|
||||
|
@ -605,6 +608,7 @@
|
|||
]
|
||||
},
|
||||
{
|
||||
"id": "halal",
|
||||
"options": [
|
||||
{
|
||||
"question": {
|
||||
|
|
|
@ -423,6 +423,7 @@
|
|||
],
|
||||
"filter": [
|
||||
{
|
||||
"id": "access",
|
||||
"options": [
|
||||
{
|
||||
"question": {
|
||||
|
@ -433,6 +434,7 @@
|
|||
]
|
||||
},
|
||||
{
|
||||
"id": "dogs",
|
||||
"options": [
|
||||
{
|
||||
"question": {
|
||||
|
|
|
@ -444,6 +444,7 @@
|
|||
},
|
||||
"filter": [
|
||||
{
|
||||
"id": "kid-books",
|
||||
"options": [
|
||||
{
|
||||
"question": "Kinderboeken aanwezig?",
|
||||
|
@ -452,6 +453,7 @@
|
|||
]
|
||||
},
|
||||
{
|
||||
"id": "adult-books",
|
||||
"options": [
|
||||
{
|
||||
"question": "Boeken voor volwassenen aanwezig?",
|
||||
|
@ -460,6 +462,7 @@
|
|||
]
|
||||
},
|
||||
{
|
||||
"id": "inside",
|
||||
"options": [
|
||||
{
|
||||
"question": "Binnen of buiten",
|
||||
|
|
|
@ -411,6 +411,7 @@
|
|||
],
|
||||
"filter": [
|
||||
{
|
||||
"id": "wheelchair",
|
||||
"options": [
|
||||
{
|
||||
"question": {
|
||||
|
@ -421,6 +422,7 @@
|
|||
]
|
||||
},
|
||||
{
|
||||
"id": "changing_table",
|
||||
"options": [
|
||||
{
|
||||
"question": {
|
||||
|
@ -431,6 +433,7 @@
|
|||
]
|
||||
},
|
||||
{
|
||||
"id": "free",
|
||||
"options": [
|
||||
{
|
||||
"question": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue