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