@artstesh/maps 9.1.2 → 9.2.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.
|
@@ -1334,7 +1334,7 @@ class DrawingService {
|
|
|
1334
1334
|
}
|
|
1335
1335
|
observeSelectArea() {
|
|
1336
1336
|
this.postboy.sub(DrawSelectionAreaCommand).subscribe((ev) => {
|
|
1337
|
-
this.postboy.
|
|
1337
|
+
this.postboy.exec(new LockMessage(MapClickEvent));
|
|
1338
1338
|
this.postboy.fireCallback(new StartDrawingCommand(ev.type, ev.style), (r) => {
|
|
1339
1339
|
if (!r) {
|
|
1340
1340
|
ev.finish(new Dictionary());
|
|
@@ -1392,7 +1392,7 @@ class DrawingService {
|
|
|
1392
1392
|
this.map?.removeInteraction(this.drawInteraction);
|
|
1393
1393
|
layer?.setSource(new Vector({}));
|
|
1394
1394
|
}
|
|
1395
|
-
this.postboy.
|
|
1395
|
+
this.postboy.exec(new UnlockMessage(MapClickEvent));
|
|
1396
1396
|
setTimeout(() => this.postboy.fire(new DrawingFinishedEvent()), 300);
|
|
1397
1397
|
}
|
|
1398
1398
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: DrawingService, deps: [{ token: MapPostboyService }], target: i0.ɵɵFactoryTarget.Injectable });
|