From b47b3d89178cf8f4476872502a68955968c1e9c0 Mon Sep 17 00:00:00 2001 From: RyanBirtch-aot Date: Mon, 19 Aug 2024 19:12:37 +0000 Subject: [PATCH] marker edit fix --- components/src/components/Map/services/MapService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/src/components/Map/services/MapService.ts b/components/src/components/Map/services/MapService.ts index 826535d9a..7a8e5467f 100644 --- a/components/src/components/Map/services/MapService.ts +++ b/components/src/components/Map/services/MapService.ts @@ -60,7 +60,7 @@ class MapService { map.on(L.Draw.Event.DELETED, (e) => { options.onDrawnItemsChange(drawnItems.getLayers()); }); - map.on(L.Draw.Event.EDITED, (e) => { + map.on(L.Draw.Event.EDITSTOP, (e) => { options.onDrawnItemsChange(drawnItems.getLayers()); });