Open jidanni opened 1 year ago
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?
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,
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".
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.