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

Add button to clear all features #179

Open
jidanni opened this issue May 30, 2023 · 2 comments
Open

Add button to clear all features #179

jidanni opened this issue May 30, 2023 · 2 comments

Comments

@jidanni
Copy link

jidanni commented May 30, 2023

Say the user has loaded his map up like
https://www.openstreetbrowser.org/#map=11/42.1514/-87.8913&categories=electric_power,power_routes,railway-infrastructure

Now he wants to clear all the junk he has added.

Therefore there should be a button to clear all the items he has added,
to get back to the
https://www.openstreetbrowser.org/#map=11/42.1514/-87.8913
state, without him needing to remove the items one at a time.

@plepe
Copy link
Owner

plepe commented Jun 1, 2023

All these categories get closed, if you close the top category "Infrastructure".

Anyway, such a button might be a got addition. Do you have a suggestion, where I should place such a button? Could you come up with a mock-up?

@jidanni
Copy link
Author

jidanni commented Jun 2, 2023

https://gis.stackexchange.com/questions/343102/openlayers-remove-all-layers-of-map-apart-from-base-map-layer maybe is useful.

Here is such a button,
Screenshot_20230602_085801_Chrome Beta.jpg

Maybe use a layers icon with an X on it.

Or a big C like in a calculator.

With a mouseover saying "clear all extra layers".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants