maproulette / maproulette3

MapRoulette, the micro-tasking tool for OpenStreetMap
https://maproulette.org
MIT License
127 stars 34 forks source link

Do not reset map layers on task change. #2451

Open homersimpsons opened 2 days ago

homersimpsons commented 2 days ago

Describe the bug Map layers are resetted after changing task.

Expected behavior Map layers should not change on task change.

To Reproduce Steps to reproduce the behavior:

  1. Go to a task (example https://maproulette.org/challenge/11605/task/234514862)
  2. Click on "layer" icon on the map
  3. Select a map feature (example OSM Data > Node)
  4. Do the task / complete it
  5. (bug) On the new task the selected map features are resetted

Screenshots Selecting layers: image

On task complete the view becomes image

Desktop (please complete the following information):

Additional context I did not test for variations of this bug. Also it may not be desirable to keep layers when changing challenge. But for some challenge having the node data helps quickly diagnose whether something is already fixed or not.