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

Enable Background Map Selection #736

Open
3 tasks
ErikSin opened this issue Jul 5, 2023 · 1 comment
Open
3 tasks

Enable Background Map Selection #736

ErikSin opened this issue Jul 5, 2023 · 1 comment

Comments

@ErikSin
Copy link
Contributor

ErikSin commented Jul 5, 2023

When Background Map Manager is enabled, allow user to select map. This selection should update the mapStyle in the zustand store. There are currently no designs for desktop, but the ones for mobile can be used and adapted to desktop.

Update the zustand store, but do not update the map in the observation view, that work will be done in #734 .

To Do:

  • In Background Map Manager Screen, when a map is selected, add button Use Map. This button should update the mapStyle in the zustand store.
image
  • In Observation View add a floating button, which open a modal with a list of available map styles. This button should only be seen when the feature flag is turned on.
  • Create modal which list of available map styles should always have a default style (mapbox://styles/mapbox/outdoors-v10), and a list of all other available styles. This list should be generated by the useMapStylesHook().
@ErikSin
Copy link
Contributor Author

ErikSin commented Aug 10, 2023

Work left for sprint 12

  • 1 full day of coding for sprint 12
  • .25 day of review (from Erik)
  • 1 full day of addressing review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🏗 In progress
Development

No branches or pull requests

3 participants