From 62c795aa73b9361a3c833096df1f5c06251d5285 Mon Sep 17 00:00:00 2001 From: bramjanssen Date: Sun, 28 Jan 2024 15:52:42 +0100 Subject: [PATCH] feat: reset interaction after a confirmation --- src/app/map/map.page.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/map/map.page.ts b/src/app/map/map.page.ts index 6eed8e5..6a703ed 100644 --- a/src/app/map/map.page.ts +++ b/src/app/map/map.page.ts @@ -351,6 +351,7 @@ export class MapPage implements OnInit, AfterViewInit { ); } } + this.setMapMode(undefined); } async openDeleteConfirmModal(f: Feature) { @@ -367,6 +368,7 @@ export class MapPage implements OnInit, AfterViewInit { } else { this._remove.getFeatures().clear(); } + this.setMapMode(undefined); } private _getFeatureStyle(feature: Feature): Style {