@artstesh/maps 4.1.30 → 4.1.31

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.
@@ -1377,11 +1377,12 @@ class FeatureModificationService {
1377
1377
  });
1378
1378
  }
1379
1379
  clearInteraction(layer) {
1380
- var _a, _b;
1380
+ var _a, _b, _c;
1381
+ (_a = layer === null || layer === void 0 ? void 0 : layer.getSource()) === null || _a === void 0 ? void 0 : _a.clear();
1381
1382
  if (this.modify)
1382
- (_a = this.map) === null || _a === void 0 ? void 0 : _a.removeInteraction(this.modify);
1383
+ (_b = this.map) === null || _b === void 0 ? void 0 : _b.removeInteraction(this.modify);
1383
1384
  if (this.translate)
1384
- (_b = this.map) === null || _b === void 0 ? void 0 : _b.removeInteraction(this.translate);
1385
+ (_c = this.map) === null || _c === void 0 ? void 0 : _c.removeInteraction(this.translate);
1385
1386
  }
1386
1387
  }
1387
1388
  FeatureModificationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FeatureModificationService, deps: [{ token: MapPostboyService }], target: i0.ɵɵFactoryTarget.Injectable });