@opengeoweb/webmap 4.15.0 → 4.16.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
@@ -3142,7 +3142,7 @@ var WMJSDimension = /*#__PURE__*/function () {
3142
3142
  this.initialize = this.initialize.bind(this);
3143
3143
  this.getValue = this.getValue.bind(this);
3144
3144
  this.setValue = this.setValue.bind(this);
3145
- this.getValues = this.setValue.bind(this);
3145
+ this.getValues = this.getValues.bind(this);
3146
3146
  this.setClosestValue = this.setClosestValue.bind(this);
3147
3147
  this.addTimeRangeDurationToValue = this.addTimeRangeDurationToValue.bind(this);
3148
3148
  this.setTimeRangeDuration = this.setTimeRangeDuration.bind(this);
package/index.umd.js CHANGED
@@ -3149,7 +3149,7 @@
3149
3149
  this.initialize = this.initialize.bind(this);
3150
3150
  this.getValue = this.getValue.bind(this);
3151
3151
  this.setValue = this.setValue.bind(this);
3152
- this.getValues = this.setValue.bind(this);
3152
+ this.getValues = this.getValues.bind(this);
3153
3153
  this.setClosestValue = this.setClosestValue.bind(this);
3154
3154
  this.addTimeRangeDurationToValue = this.addTimeRangeDurationToValue.bind(this);
3155
3155
  this.setTimeRangeDuration = this.setTimeRangeDuration.bind(this);
@@ -33,6 +33,7 @@ export interface LayerOptions {
33
33
  failure?: (layer: WMLayer, message: string) => void;
34
34
  ReactWMJSLayerId?: string;
35
35
  onLayerError?: (layer: WMLayer, error: Error, webmapInstance: WMJSMap) => void;
36
+ onLayerReady?: (layer: any, webmap?: any) => void;
36
37
  }
37
38
  /**
38
39
  * Helper function to figure out the dimensions from the WMS layer object (From WMS GetCapabilities). Parses both WMS 1.1.1 and WMS 1.3.0.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/webmap",
3
- "version": "4.15.0",
3
+ "version": "4.16.0",
4
4
  "description": "GeoWeb webmap library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {