-
Notifications
You must be signed in to change notification settings - Fork 376
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
Fix 7296 wmts #7371
base: main
Are you sure you want to change the base?
Fix 7296 wmts #7371
Conversation
: [layer.ResourceURL]; | ||
|
||
if (resourceUrls && (this.requestEncoding === "RESTful" || !url)) { | ||
for (let i = 0; i < resourceUrls.length; i++) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could for (const resourceUrl of resourceUrls) {
be used to iterate over the content so the next line can be omitted, or is there some JavaScript-reason to always use index-based iterations in TypeScript?
Same comment for the other for-loops where the index is only used to get the element.
eeaecab
to
8a8b5a0
Compare
What this PR does
Fixes #7296, #2927, #1573
Extended OWS common interfaces lists and added support for reading the URL from operations metadata.
Test me
Try adding data using the init file https://gist.githubusercontent.com/zoran995/10169b47c7c7191f4795b56878c3d9c4/raw/0a9cdbc3bdde67cec67ae4fdcd5f8a370b702161/terriajs-7296-config.json
I have also tested using New Zealand LINZ data service mentioned in #2927
Checklist
doc/
.