Merge pull request 'add fee filter and toilets=*' (#2316) from Osmwithspace/MapComplete:layer_campsite into develop

Reviewed-on: MapComplete/MapComplete#2316
This commit is contained in:
Pieter Vander Vennet 2025-02-20 22:52:42 +01:00
commit e130629a70

View file

@ -71,6 +71,7 @@
} }
], ],
"tagRenderings": [ "tagRenderings": [
"images",
{ {
"question": { "question": {
"de": "Ist dieser Zeltplatz ausschließlich für Gruppen?", "de": "Ist dieser Zeltplatz ausschließlich für Gruppen?",
@ -121,6 +122,7 @@
}, },
"id": "name" "id": "name"
}, },
"contact",
{ {
"id": "fee", "id": "fee",
"question": { "question": {
@ -186,12 +188,31 @@
}, },
"id": "capacity_persons" "id": "capacity_persons"
}, },
"contact", "caravansites.caravansites-toilets",
"questions", "questions",
"mastodon", "mastodon"
"images"
], ],
"filter": [ "filter": [
{
"id": "fee_filter",
"options": [
{
"question": {
"en": "Fee"
}
},
{
"question": {
"en": "free of charge"
},
"osmTags": {
"and": [
"fee=no"
]
}
}
]
},
{ {
"id": "capacity_persons_filter", "id": "capacity_persons_filter",
"options": [ "options": [
@ -284,6 +305,36 @@
"osmTags": "capacity:persons=" "osmTags": "capacity:persons="
} }
] ]
},
{
"id": "toilets_filter",
"options": [
{
"question": {
"en": "Toilets"
}
},
{
"question": {
"en": "Toilets are available."
},
"osmTags": {
"and": [
"toilets=yes"
]
}
},
{
"question": {
"en": "There are no toilets."
},
"osmTags": {
"and": [
"toilets=no"
]
}
}
]
} }
], ],
"allowMove": false, "allowMove": false,