@opengeoweb/webmap 11.0.0 → 11.1.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.
package/index.esm.js CHANGED
@@ -6709,10 +6709,16 @@ var WMJSMap = /*#__PURE__*/function () {
6709
6709
  _context.next = 10;
6710
6710
  return layer.parseLayer();
6711
6711
  case 10:
6712
+ if (!this.isDestroyed) {
6713
+ _context.next = 12;
6714
+ break;
6715
+ }
6716
+ throw new Error('Map is destroyed');
6717
+ case 12:
6712
6718
  this.configureMapDimensions(layer);
6713
6719
  this._wmEventListener.triggerEvent('onlayeradd');
6714
6720
  return _context.abrupt("return", this);
6715
- case 13:
6721
+ case 15:
6716
6722
  case "end":
6717
6723
  return _context.stop();
6718
6724
  }
@@ -7852,7 +7858,7 @@ var privateCheckException = function privateCheckException(jsonData) {
7852
7858
  return undefined;
7853
7859
  };
7854
7860
  var privateWmsGetRootLayerFromGetCapabilities = function privateWmsGetRootLayerFromGetCapabilities(jsonData) {
7855
- return privateWmsGetCapabilityElement(jsonData).Layer;
7861
+ return privateWmsGetCapabilityElement(jsonData);
7856
7862
  };
7857
7863
  var privateCheckVersion111 = function privateCheckVersion111(jsonData) {
7858
7864
  try {
@@ -8496,7 +8502,7 @@ var WMLayer = /*#__PURE__*/function () {
8496
8502
  this.hasError = false;
8497
8503
  this.legendIsDimensionDependent = true;
8498
8504
  this.wms130bboxcompatibilitymode = false;
8499
- this.version = WMSVersion.version111;
8505
+ this.version = WMSVersion.version130;
8500
8506
  this.path = '';
8501
8507
  this.type = 'wms';
8502
8508
  this.wmsextensions = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/webmap",
3
- "version": "11.0.0",
3
+ "version": "11.1.0",
4
4
  "description": "GeoWeb webmap library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -1,41 +1,18 @@
1
1
  declare const _default: {
2
2
  name: null;
3
- title: string;
4
3
  leaf: boolean;
5
4
  path: never[];
6
5
  keywords: never[];
7
- abstract: undefined;
8
- styles: {
9
- title: string;
10
- name: string;
11
- legendURL: string;
12
- abstract: string;
13
- }[];
14
- dimensions: {
15
- name: string;
16
- units: string;
17
- currentValue: string;
18
- values: string;
19
- unitSymbol: undefined;
20
- }[];
21
- geographicBoundingBox: undefined;
6
+ styles: never[];
7
+ dimensions: never[];
22
8
  queryable: boolean;
23
- crs: {
24
- name: string;
25
- bbox: {
26
- left: number;
27
- right: number;
28
- bottom: number;
29
- top: number;
30
- };
31
- }[];
9
+ crs: never[];
32
10
  children: {
33
- name: string;
11
+ name: null;
34
12
  title: string;
35
13
  leaf: boolean;
36
14
  path: string[];
37
15
  keywords: never[];
38
- abstract: undefined;
39
16
  styles: {
40
17
  title: string;
41
18
  name: string;
@@ -47,14 +24,7 @@ declare const _default: {
47
24
  units: string;
48
25
  currentValue: string;
49
26
  values: string;
50
- unitSymbol: undefined;
51
27
  }[];
52
- geographicBoundingBox: {
53
- east: string;
54
- west: string;
55
- north: string;
56
- south: string;
57
- };
58
28
  queryable: boolean;
59
29
  crs: {
60
30
  name: string;
@@ -65,7 +35,42 @@ declare const _default: {
65
35
  top: number;
66
36
  };
67
37
  }[];
68
- children: never[];
38
+ children: {
39
+ name: string;
40
+ title: string;
41
+ leaf: boolean;
42
+ path: string[];
43
+ keywords: never[];
44
+ styles: {
45
+ title: string;
46
+ name: string;
47
+ legendURL: string;
48
+ abstract: string;
49
+ }[];
50
+ dimensions: {
51
+ name: string;
52
+ units: string;
53
+ currentValue: string;
54
+ values: string;
55
+ }[];
56
+ geographicBoundingBox: {
57
+ east: string;
58
+ west: string;
59
+ north: string;
60
+ south: string;
61
+ };
62
+ queryable: boolean;
63
+ crs: {
64
+ name: string;
65
+ bbox: {
66
+ left: number;
67
+ right: number;
68
+ bottom: number;
69
+ top: number;
70
+ };
71
+ }[];
72
+ children: never[];
73
+ }[];
69
74
  }[];
70
75
  };
71
76
  export default _default;