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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ol",
3
- "version": "9.0.0-dev.1707154322322",
3
+ "version": "9.0.0-dev.1707341212133",
4
4
  "description": "OpenLayers mapping library",
5
5
  "keywords": [
6
6
  "map",
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.find(function (elt) {
364
+ const l = layers?.find(function (elt) {
365
365
  return elt['Identifier'] == config['layer'];
366
366
  });
367
367
  if (!l) {
package/util.js CHANGED
@@ -33,4 +33,4 @@ export function getUid(obj) {
33
33
  * OpenLayers version.
34
34
  * @type {string}
35
35
  */
36
- export const VERSION = '9.0.0-dev.1707154322322';
36
+ export const VERSION = '9.0.0-dev.1707341212133';