@artstesh/maps 1.1.29 → 1.1.30
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/bundles/maps-components-src-map.umd.js +4 -3
- package/dist/bundles/maps-components-src-map.umd.js.map +1 -1
- package/dist/bundles/maps-components.umd.js +4 -3
- package/dist/bundles/maps-components.umd.js.map +1 -1
- package/dist/esm2015/map/services/drawing/feature-modification.service.js +5 -4
- package/dist/esm2015/src/map/services/drawing/feature-modification.service.js +5 -4
- package/dist/fesm2015/maps-components-src-map.js +4 -3
- package/dist/fesm2015/maps-components-src-map.js.map +1 -1
- package/dist/fesm2015/maps-components.js +4 -3
- package/dist/fesm2015/maps-components.js.map +1 -1
- package/package.json +1 -1
|
@@ -2041,11 +2041,12 @@
|
|
|
2041
2041
|
});
|
|
2042
2042
|
};
|
|
2043
2043
|
FeatureModificationService.prototype.clearInteraction = function (layer) {
|
|
2044
|
-
var _a, _b;
|
|
2044
|
+
var _a, _b, _c;
|
|
2045
|
+
(_a = layer === null || layer === void 0 ? void 0 : layer.getSource()) === null || _a === void 0 ? void 0 : _a.clear();
|
|
2045
2046
|
if (this.modify)
|
|
2046
|
-
(
|
|
2047
|
+
(_b = this.map) === null || _b === void 0 ? void 0 : _b.removeInteraction(this.modify);
|
|
2047
2048
|
if (this.translate)
|
|
2048
|
-
(
|
|
2049
|
+
(_c = this.map) === null || _c === void 0 ? void 0 : _c.removeInteraction(this.translate);
|
|
2049
2050
|
};
|
|
2050
2051
|
return FeatureModificationService;
|
|
2051
2052
|
}());
|