fetch imagery directly from ELI for instant updates#12152
Open
fetch imagery directly from ELI for instant updates#12152
Conversation
k-yle
commented
Mar 31, 2026
| const nsiCdnUrl = ENV__ID_NSI_CDN_URL | ||
| || 'https://cdn.jsdelivr.net/npm/name-suggestion-index@{version}/'; | ||
| const eliCdnUrl = ENV__ID_ELI_CDN_URL | ||
| || 'https://cdn.jsdelivr.net/gh/osmlab/editor-layer-index@gh-pages/'; |
Collaborator
Author
There was a problem hiding this comment.
if osmlab/editor-layer-index#2927 is accepted, then this line needs to change to:
Suggested change
| || 'https://cdn.jsdelivr.net/gh/osmlab/editor-layer-index@gh-pages/'; | |
| || 'https://cdn.jsdelivr.net/npm/@openstreetmap/editor-layer-index@{version}/'; |
or alternatively, if osmlab/editor-layer-index#2530 is accepted, then this needs to change to:
Suggested change
| || 'https://cdn.jsdelivr.net/gh/osmlab/editor-layer-index@gh-pages/'; | |
| || 'https://cdn.jsdelivr.net/gh/osmlab/editor-layer-index@v1/'; |
currently it's using gh-pages just to make the PR demo work, it can't be merged as-is.
hlfan
reviewed
Apr 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
blocked by either osmlab/editor-layer-index#2927 or osmlab/editor-layer-index#2530, depending on what option the ELI maintainers prefer.
This PR makes iD use the latest version of editor-layer-index, no need to wait for the next release anymore.
imagery.jsoninto our git repo anymore)