Open m-mohr opened 3 years ago
The title sounds like you want the URL bar to update after each state-changing UI interaction. The text sounds like you want a "Share" button that produces a permalink on demand. Which variant did you have in mind? The first one is a lot more work, bloats the URL history of the tab and users would expect to be able to use the Back/Forward buttons.
One of them - not sure yet. Indeed, the Share button would likely be easier to do.
The second option would probably override the history state and not push new entries for every change. :-)
Originates from a discussion on Teams regarding the ESA_WORLDCOVER_10M_2020_V1 product:
It would be nice if you could share a web editor link with the current state of the map (e.g. loaded preview-collection, AOI, ...). For OL persistence see here: https://openlayers.org/en/latest/examples/permalink.html#map=2.87/0.00/0.00/0