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

Hash-URL is not updated on OSM.org #8114

Open tordans opened 4 years ago

tordans commented 4 years ago

The configuration hash on OSM.org is not updated anymore. For example, custom image URL or the info "show mapillary" is not added to the URL.

https://www.openstreetmap.org/edit#map=19/52.94899/14.10464

Tested in Chrome + Chrome Canary.


Looking into this:

willemarcel commented 4 years ago

@tordans do you need those params on the url to share an iD config with someone? I prefer to have a cleaner URL. Maybe a solution would be a share URL function to get the URL with alll the hash params.

tordans commented 4 years ago

@willemarcel yes, the state of the app config should be shareable via URL. I am pretty shure it was before. IMO, longer urls are not unclean - it is how the web works. Hiding the config in a config hash breaks the old system, makes it less hackable and more complex to maintain, IMO.