-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WMTS image provider with subdomains drops query #9606
Conversation
…ovider.js to address issue #9598
Thanks for the pull request @srothst1!
Reviewers, don't forget to make sure that:
|
Also, CHANGES.md should be updated in the "Fixes" category. |
Ah - another thing. It looks like your changes introduced some problems with For the latter, it can be helpful to use syntax like VSCode has a handy eslint extension too. |
…pec.js, removed unnecessary comments from WebMapTileServiceImageryProvider.js
Co-authored-by: Eli Bogomolny <31491650+ebogo1@users.noreply.github.com>
@srothst1 I pushed a couple small changes:
Once CI passes and @tfili gives a final look this should be good to go 👍 |
@ebogo1 Thank you for helping me clean up the code. It looks like the checks have passed! |
…arguments are set correctly
@srothst1 I pushed a small tweak. This code worked by accident
Using the || operator will return the first term that isn't "falsy" (eg. It picks the subdomain by adding, |
@tfili great! are we in a good spot to merge this pull request? |
Thanks @srothst1 . Looks good. |
Fixes issue #9598
Changed the behavior of the
requestImage
function whenuseKpv
is true in the fileWebMapTileServiceImageryProvider.js
. Updated the constructor inWebMapTileServiceImageryProvider.js
to indicate that it is safe to useKPV
when{s}
is present yet no other keywords are present.Issue derived from this forum post.
@ebogo1
@lilleyse