diff --git a/UI/BigComponents/DownloadPanel.ts b/UI/BigComponents/DownloadPanel.ts index 466b8d217..746715826 100644 --- a/UI/BigComponents/DownloadPanel.ts +++ b/UI/BigComponents/DownloadPanel.ts @@ -107,7 +107,7 @@ export class DownloadPanel extends Toggle { return { type:"FeatureCollection", - features: featureList + features: resultFeatures } } diff --git a/assets/layers/cafe_pub/cafe_pub.json b/assets/layers/cafe_pub/cafe_pub.json index be3f1d6e5..db93b4f8f 100644 --- a/assets/layers/cafe_pub/cafe_pub.json +++ b/assets/layers/cafe_pub/cafe_pub.json @@ -165,7 +165,8 @@ "email", "phone", "payment-options", - "wheelchair-access" + "wheelchair-access", + "dog-access" ], "filter": [ { diff --git a/assets/layers/food/food.json b/assets/layers/food/food.json index 9dcb0f1dd..cb2aa258f 100644 --- a/assets/layers/food/food.json +++ b/assets/layers/food/food.json @@ -182,6 +182,7 @@ "phone", "payment-options", "wheelchair-access", + "dog-access", { "#": "Cuisine", "question": { diff --git a/assets/tagRenderings/questions.json b/assets/tagRenderings/questions.json index 4f2b63c2d..30aab5b27 100644 --- a/assets/tagRenderings/questions.json +++ b/assets/tagRenderings/questions.json @@ -137,6 +137,42 @@ } ] }, + "dog-access": { + "question": { + "en": "Are dogs allowed in this business?", + "nl": "Zijn honden toegelaten in deze zaak?" + }, + "mappings": [ + { + "if": "dog=yes", + "then": { + "en": "Dogs are allowed", + "nl": "honden zijn toegelaten" + } + }, + { + "if": "dog=no", + "then": { + "en": "Dogs are not allowed", + "nl": "honden zijn niet toegelaten" + } + }, + { + "if": "dog=leashed", + "then": { + "en": "Dogs are allowed, but they have to be leashed", + "nl": "honden zijn enkel aan de leiband welkom" + } + }, + { + "if": "dog=unleashed", + "then": { + "en": "Dogs are allowed and can run around freely", + "nl": "honden zijn welkom en mogen vrij rondlopen" + } + } + ] + }, "description": { "question": { "nl": "Zijn er nog andere relevante zaken die je niet in de bovenstaande vragen kwijt kon? Vul ze hier in.
Herhaal geen antwoorden die je reeds gaf",