@opengeoweb/webmap 9.18.0 → 9.19.1
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/index.esm.js +9 -3
- 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.
|
|
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.
|
|
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
|
|
|
@@ -16478,7 +16478,13 @@ class WMLayer {
|
|
|
16478
16478
|
});
|
|
16479
16479
|
}
|
|
16480
16480
|
cloneLayer() {
|
|
16481
|
-
|
|
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
|