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

Switching tabs, reset layers #705

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

Conversation

cmanciero
Copy link
Collaborator

Remove selected layers on Data Globe when switching tabs

Description

When switching between Map Layers and Analyze Areas, remove selected layer (reset) from the map

Testing instructions

Select a layer or multiple in the Map Layers section then click on Analyze Areas tab, selected layers should be removed.
Select a radio option in Analyze Areas then click the Map Layers tab and see layers be removed.

Copy link

vercel bot commented Dec 2, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
half-earth ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 2, 2024 8:02pm

@Bluesmile82
Copy link
Collaborator

About the feature: The biodiversity layers have a radio button so the idea is that one layer is always selected. Shouldn't we select the all taxa layer back when we return to map layers?

Also when we go to analyse areas the click on the map select options are also part of a radio. Ideally the first option should be selected.

I'm not sure about the purpose of this change but it could be a bit distracting for the user lose the selection of layers that they have, also on the aoi pages when we come to the analysis tab. Maybe there is another option

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