Selected background is not restored when starting
Hi, in some former versions the selected background imagery always was saved (maybe in a cookie) when leaving iD and restored when logging in again and starting a new editing session. Since a few months this doesn't work anymore. I prefer to select "Esri World Imagery". But now each time I start a new session, always the first background imagery is selected (which for me is "Niedersachsen DOP20" and I don't like). Is it possible to get back the restoring feature again? BR, tkansgar
Hi @tkansgar I would like to work on this issue. Can you please assign it to me?
@ritiksingh3202 we don't assign issues, anyone is welcome is submit a PR.
However: We already have a PR for this issue (#8914) which was rejected. The only alternative solution is to remove this line (best: true) from ELI, which was added in https://github.com/osmlab/editor-layer-index/pull/2807
Hi @k-yle and @tyrasd, where can I look up the correct hash parameter "background=..." for "Esri World Imagery"? Or can you give it to me?
@tkansgar you can use the iD URL from the readme and changes to the background layer will be preserved in the url. You can bookmark this url. The url params for the website work differently unfortunately.
Hi @tordans, where can I find the readme? Can you give a link?
I just found it under "Code". And the URL is "https://ideditor-release.netlify.app/#map=[...]". And the hash parameter for "Esri World Imagery" is "&background=EsriWorldImagery". With that URL the hash parameter is preserved when moving or scaling, but with "https://www.openstreetmap.org/edit#map=[...]" it gets lost. Can't this be fixed?