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

Feature/basemaps #67

Merged
merged 6 commits into from
Jun 5, 2024
Merged

Feature/basemaps #67

merged 6 commits into from
Jun 5, 2024

Conversation

lstillwe
Copy link
Contributor

@lstillwe lstillwe commented May 23, 2024

Added this new feature to select a basemap for the UI. I have just added 3 basemap's for now, but easy to add more in the future. The basemap list is in utils/map-utils.js
The selected basemap is persisted in local storage, so the user will get the same basemap with refresh of the website.
I am not aware of any bugs in this feature, and it is mostly complete, except that it currently does not support dark mode. I have created issue #66 for discussion about how to support dark mode.
After merging this branch can be removed.

@lstillwe lstillwe requested review from mbwatson and PhillipsOwen May 23, 2024 22:21
Copy link
Collaborator

@PhillipsOwen PhillipsOwen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seeing this console.error() in observation-chart.js:26

it seems to be occurring whenever the "USGS imagery topo" or "cartoDB-Positron" base layers are selected.

MUI: A component is changing the default value state of an uncontrolled RadioGroup after being initialized. To suppress this warning opt to use a controlled RadioGroup.

@lstillwe lstillwe closed this May 24, 2024
@lstillwe lstillwe reopened this Jun 5, 2024
@lstillwe lstillwe removed the request for review from mbwatson June 5, 2024 18:18
@lstillwe lstillwe closed this Jun 5, 2024
@lstillwe lstillwe reopened this Jun 5, 2024
@lstillwe lstillwe requested a review from PhillipsOwen June 5, 2024 18:28
@PhillipsOwen PhillipsOwen merged commit b5d55f7 into main Jun 5, 2024
1 check passed
@PhillipsOwen PhillipsOwen deleted the feature/basemaps branch June 5, 2024 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants