From a6583f9934a416b1850ee160d3fa18f88bf51888 Mon Sep 17 00:00:00 2001 From: Robin van der Linde Date: Sun, 10 Jul 2022 19:43:35 +0000 Subject: [PATCH] Added description, add extra filters --- assets/layers/maproulette/maproulette.json | 32 ++++++++++++++++++++++ assets/themes/maproulette/maproulette.json | 4 +-- 2 files changed, 34 insertions(+), 2 deletions(-) diff --git a/assets/layers/maproulette/maproulette.json b/assets/layers/maproulette/maproulette.json index 3daf863895..4ab2265b4c 100644 --- a/assets/layers/maproulette/maproulette.json +++ b/assets/layers/maproulette/maproulette.json @@ -186,6 +186,38 @@ "osmTags": "status=9" } ] + }, + { + "id": "parent-name", + "options": [ + { + "osmTags": "parentName~i~.*{search}.*", + "fields": [ + { + "name": "search" + } + ], + "question": { + "en": "Challenge name contains {search}" + } + } + ] + }, + { + "id": "parent-id", + "options": [ + { + "osmTags": "parentId={search}", + "fields": [ + { + "name": "search" + } + ], + "question": { + "en": "Challenge ID matches {search}" + } + } + ] } ] } \ No newline at end of file diff --git a/assets/themes/maproulette/maproulette.json b/assets/themes/maproulette/maproulette.json index 3695f3edad..9c0ca8f7dd 100644 --- a/assets/themes/maproulette/maproulette.json +++ b/assets/themes/maproulette/maproulette.json @@ -1,10 +1,10 @@ { "id": "maproulette", "title": { - "en": "MapRoulette Test" + "en": "MapRoulette Tasks" }, "description": { - "en": "MapRoulette Test" + "en": "Theme showing MapRoulette tasks, allowing you to search, filter and fix them." }, "version": "1.0.0", "hideFromOverview": true,