Persist multiple custom backgrounds
Add a Copy Custom Background URL button, placed there in Background > Custom .
Without it, the user must type in all the details when switching between the one allowed custom background and another.
With it, the user merely would need to bookmark e.g., URL https://www.openstreetmap.org/edit?editor=id&background=custom%3Ahttps%3A%2F%2Fwms.nlsc.gov.tw%2Fwms%3FVERSION%... in his browser.
Currently the user does not even know this is possible. He needs to one day browse https://osmlab.github.io/editor-layer-index/ and click around to discover the above URLs are possible.
Currently the user does not even know this is possible
The URL parameters are documented at https://github.com/openstreetmap/iD/blob/2.x/API.md
This is an issue with the editor-layer-index preview page, not with iD.
This is an issue with the editor-layer-index preview page, not with iD.
That's not how I see it. The request here is the ability to have two custom sources at a time in iD. It's unrelated to the ELI.
That's not how I see it. The request here is the ability to have two custom sources at a time in iD. It's unrelated to the ELI.
oh sorry, I think you're right. I'm still not really sure what this issue is about though.
With it, the user merely would need to bookmark e.g., URL
https://www.openstreetmap.org/edit?editor=id&background=custom%3Ahttps%3A%2F%2Fwms.nlsc.gov.tw%2Fwms%3FVERSION%...in his browser.
They can do this now, right? If the url on openstretmap.org doesn't change, it might require something in the openstreetmap-website integration. I tested on our preview site, and this works, that's why I was confused.
Maybe even better was if in the Background panel, at the bottom, there was a more general "Copy background setting URL" which would copy the url for "Bing shifted 3m to the northwest" "Custom WMS with parameters x...y...x... shifted 1m to the east" etc. etc. allowing the user to bookmark them in his browser.
Or maybe just add note at the bottom of Background panel, saying that "these can be controlled via a URL" with a link to https://github.com/openstreetmap/iD/issues/7426#issuecomment-598619046 documentation.
I get there are valid use cases for the custom source, but as much as possible if there is a recurring reason for using custom we should try to get those into the [editor-]layer-index as much as possible rather than workarounds like this.
(I'm thinking that a little note to see the API doc could eliminate tedious daily workflows at the county assessor's office like
- switch to maxar, then with the mouse adjust the ofset.
- switch to bing, then with the mouse adjust the ofset.
- switch back to maxar, then with the mouse adjust the ofset.
using instead two bookmarks the user has saved.)
P.S., adding the tag "waitfor-info" while blocking the user you are waiting the info from will cause the user not to get any messages about what you are waiting for.
This seems stalled. I want o to bring up the idea.
I frequently use several custom map backrounds, most are derivatives of OSM, just different renderings, and some are very specific open data based.
I have need to frequently switch from one custom backghround layer to another. ID is not very user frendly on that.
I guess simple user interface to save several custom background maps is not hard to do?