Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preserve MapRoulette task settings in the URL #1422

Closed
Tracked by #1501
eneerhut opened this issue May 10, 2024 · 5 comments
Closed
Tracked by #1501

Preserve MapRoulette task settings in the URL #1422

eneerhut opened this issue May 10, 2024 · 5 comments
Assignees
Labels
feature-maproulette Issue or request related to the MapRoulette layer top-priority Top priority issue
Milestone

Comments

@eneerhut
Copy link

Description

Coordinated mapping efforts would be enhanced if we can preserve MapRoulette in the URL. If the challenge ID is preserved, we can easily encourage people to participate in a challenge by sharing a Rapid link.

Maybe something like &MapRoulette=41502 which would automatically enable MR while preserving the other settings.

@bhousel bhousel added the feature-maproulette Issue or request related to the MapRoulette layer label May 22, 2024
@tannerwuster tannerwuster self-assigned this Aug 23, 2024
@tannerwuster tannerwuster removed their assignment Sep 3, 2024
@bhousel bhousel added the top-priority Top priority issue label Oct 17, 2024
@bhousel
Copy link
Contributor

bhousel commented Oct 17, 2024

Sounds good - we can prioritize this.
Another good idea by @Geocruizer, allow a comma-separated list here instead of a single challenge id.

@bhousel bhousel added this to the v2.5 milestone Oct 17, 2024
@eneerhut
Copy link
Author

+1 that's a great idea.

In the Walkabout meeting we talked about clustering too. This is a bigger effort, but I can see leaflet style clustering serving multiple applications within Rapid. For example, it could help to highlight which parts of the map have ML buildings and roads when the user is at a low zoom level.

@bhousel bhousel closed this as completed in 3c19e4b Nov 5, 2024
@bhousel
Copy link
Contributor

bhousel commented Nov 5, 2024

Hey @eneerhut, @Geocruizer, @atiannicelli

I just added support for enabling the MapRoulette via the url parameter.. The supported value can either be true or a comma-separated list of challenge IDs to filter by. If you get a chance, try it out in the canary build, and let me know how it goes!

(Like before, if challenge IDs are specified, Rapid will display the tasks even if that challenge is set to be hidden. If no challenge IDs are specified, Rapid just shows all the visible challenges in the map region).

Examples:

&maproulette=true
https://rapideditor.org/canary#map=17.00/42.33214/-71.04076/359.0&maproulette=true
-or-

&maproulette=<challengeIDs>
https://rapideditor.org/canary#map=17.00/42.33214/-71.04076/359.0&maproulette=41509,43946

@eneerhut
Copy link
Author

eneerhut commented Nov 8, 2024

Working well for me so far @bhousel. Great implementation.
SF Untagged Crossing Ways.

@atiannicelli
Copy link

I haven't tried it out but the functionality sounds great! I will probably give it a whirl on Monday.

bhousel added a commit that referenced this issue Nov 11, 2024
(closes #1422)

This adds support for a urlhash parameter `&maproulette=val`
where `val` can be 'true' or a comma-separated list of challengeIDs.
Example:  `maproulette=true` -or- `maproulette=<challengeIDs>`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-maproulette Issue or request related to the MapRoulette layer top-priority Top priority issue
Projects
None yet
Development

No branches or pull requests

4 participants