ol 9.0.0-dev.1707154322322 → 9.0.0-dev.1707341212133
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ol.js +1 -1
- package/dist/ol.js.map +1 -1
- package/package.json +1 -1
- package/source/WMTS.js +1 -1
- package/util.js +1 -1
package/package.json
CHANGED
package/source/WMTS.js
CHANGED
|
@@ -361,7 +361,7 @@ export default WMTS;
|
|
|
361
361
|
*/
|
|
362
362
|
export function optionsFromCapabilities(wmtsCap, config) {
|
|
363
363
|
const layers = wmtsCap['Contents']['Layer'];
|
|
364
|
-
const l = layers
|
|
364
|
+
const l = layers?.find(function (elt) {
|
|
365
365
|
return elt['Identifier'] == config['layer'];
|
|
366
366
|
});
|
|
367
367
|
if (!l) {
|
package/util.js
CHANGED