@evergis/api 3.0.116 → 3.0.117

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/dist/api.esm.js CHANGED
@@ -6241,22 +6241,31 @@ let EvergisTileLayer = /*#__PURE__*/function (_TileLayer) {
6241
6241
  return EvergisTileLayer;
6242
6242
  }(TileLayer);
6243
6243
 
6244
+ const _excluded$5 = ["name", "style", "condition", "dataFilterId"];
6244
6245
  let EvergisDynamicLayer = /*#__PURE__*/function (_DynamicLayer) {
6245
6246
  _inherits(EvergisDynamicLayer, _DynamicLayer);
6246
6247
 
6247
6248
  var _super = /*#__PURE__*/_createSuper(EvergisDynamicLayer);
6248
6249
 
6249
- function EvergisDynamicLayer(configuration, api) {
6250
+ function EvergisDynamicLayer(_ref, api) {
6250
6251
  var _this;
6251
6252
 
6253
+ let {
6254
+ name,
6255
+ style,
6256
+ condition,
6257
+ dataFilterId
6258
+ } = _ref,
6259
+ layerProps = _objectWithoutPropertiesLoose(_ref, _excluded$5);
6260
+
6252
6261
  _classCallCheck(this, EvergisDynamicLayer);
6253
6262
 
6254
- _this = _super.call(this);
6263
+ _this = _super.call(this, layerProps);
6255
6264
  _this.api = api;
6256
- _this.name = configuration.name;
6257
- _this.styleId = configuration.style;
6258
- _this.conditionQuery = configuration.condition;
6259
- _this.filterId = configuration.dataFilterId;
6265
+ _this.name = name;
6266
+ _this.styleId = style;
6267
+ _this.conditionQuery = condition;
6268
+ _this.filterId = dataFilterId;
6260
6269
 
6261
6270
  _this.subscribeRedraw();
6262
6271