@opengeoweb/webmap 9.17.0 → 9.19.0

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.
Files changed (2) hide show
  1. package/index.esm.js +10 -4
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -317,10 +317,10 @@ var SHARED = '__core-js_shared__';
317
317
  var store$3 = sharedStore.exports = globalThis$1[SHARED] || defineGlobalProperty$2(SHARED, {});
318
318
 
319
319
  (store$3.versions || (store$3.versions = [])).push({
320
- version: '3.36.1',
320
+ version: '3.37.1',
321
321
  mode: 'global',
322
322
  copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',
323
- license: 'https://github.com/zloirock/core-js/blob/v3.36.1/LICENSE',
323
+ license: 'https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE',
324
324
  source: 'https://github.com/zloirock/core-js'
325
325
  });
326
326
 
@@ -7714,7 +7714,7 @@ if (DESCRIPTORS && !('size' in URLSearchParamsPrototype)) {
7714
7714
  * */
7715
7715
  const fakeMaxAgeResponsesByLayer = {
7716
7716
  'observation:wis2_air_temperature': 600,
7717
- 'fmi:observation:lightning': 3600,
7717
+ 'fmi:observation:lightning': 300,
7718
7718
  'fmi:observation:temperature': 3600,
7719
7719
  'fmi:observation:dewpoint': 3600,
7720
7720
  'fmi:observation:temperature_foreign': 3600,
@@ -16478,7 +16478,13 @@ class WMLayer {
16478
16478
  });
16479
16479
  }
16480
16480
  cloneLayer() {
16481
- return new WMLayer(this._options);
16481
+ const newLayer = new WMLayer(this._options);
16482
+ newLayer.dimensions.length = 0;
16483
+ newLayer.name = this.name;
16484
+ this.dimensions.forEach(dim => {
16485
+ newLayer.dimensions.push(dim.clone());
16486
+ });
16487
+ return newLayer;
16482
16488
  }
16483
16489
  /**
16484
16490
  * Set or change the name of this layer. This involves re-parsing the WMS GetCapabilities document and updating the affected layer properties. When done, it resolves the WMLayer
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/webmap",
3
- "version": "9.17.0",
3
+ "version": "9.19.0",
4
4
  "description": "GeoWeb webmap library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {