-
Notifications
You must be signed in to change notification settings - Fork 16
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
Allow user to remove layer from (DOM) map / layer control #253
Comments
I agree with this, especially if users can add their own layers. Here's a quick mockup of a potential UI (using
This is an implementation detail that probably should not be subject to the UCR report. I do think this is worthy of mentioning in the spec, along with other descriptions of the UI of the individual controls. |
Should it be possible to restore a deleted layer? Maybe I deleted the wrong one and want it back, without refreshing the page. Would it make sense that the |
I think the reload was intended to just reset history and return to the initial location, it doesn't reset any other properties so I don't think it should reset the initial layers either. |
Also do you have the code for your mockup somewhere? It's a good UI implementation . |
I don't, I was just messing around with it 😋 It'd probably need changes per #263 anyway. |
This is just an idea for discussion.
It might be useful to allow the user to not just remove a layer from the map (checked), but to remove the layer from the DOM altogether, e.g. click X to delete it from the layer control. It might be confusing though too, so maybe not. Please add your thoughts below.
Does such an idea affect requirements, or specifications?
The text was updated successfully, but these errors were encountered: