openstreetmap / iD

🆔 The easy-to-use OpenStreetMap editor in JavaScript.
https://www.openstreetmap.org/edit?editor=id
ISC License
3.37k stars 1.21k forks source link

Add background version grouping #10380

Open hlfan opened 3 months ago

hlfan commented 3 months ago

Description

Add a system for grouping versions or variants of layers in a single line. This idea builds on facebook/Rapid#1388 and #8826, further decluttering the background selection. While this feature is oriented towards individually indexed versions of background layers, it may also be used for variants of maps, similar to WMS layers.

Screenshots

Berlin Vorarlberg

tordans commented 3 months ago

There is a lot of discussion on this topic in https://github.com/openstreetmap/iD/pull/8826

Changes in this part of the UI have quite a few side effects that need to be considered.


On the idea of moving years to a dropdown: Personally, I prefer a one dimensional list of image layers which I can more easily scan and which allow for a faster change between layers.

1ec5 commented 3 months ago

On the idea of moving years to a dropdown: Personally, I prefer a one dimensional list of image layers which I can more easily scan and which allow for a faster change between layers.

OpenHistoricalMap/iD#181 implemented an inline set of radio buttons for each Esri Wayback layer. It is very handy for flipping back and forth, but mappers have been complaining that the sheer number of options takes up too much space and makes non-Wayback imagery undiscoverable. It would get only worse once OHM adds additional temporal layers. OpenHistoricalMap/issues#806 tracks replacing the OHM implementation with Rapid’s as a stopgap. Long-term, I think something like the slider proposed in https://github.com/OpenHistoricalMap/iD/pull/181#issuecomment-2253177422 would be much more usable.