From a37c3c4cd84cce16645e61307c2c790645c7064c Mon Sep 17 00:00:00 2001 From: Dovile Date: Fri, 7 Jun 2024 09:57:27 +0300 Subject: [PATCH 1/5] An updated draw, select and remove logic to preserve buffer size. --- src/routes/edit.vue | 70 ++++++++++++++++++++----------------------- src/utils/map/draw.ts | 49 +++++++++++++++++++++++------- 2 files changed, 71 insertions(+), 48 deletions(-) diff --git a/src/routes/edit.vue b/src/routes/edit.vue index c6d5728..ba7f23a 100644 --- a/src/routes/edit.vue +++ b/src/routes/edit.vue @@ -25,7 +25,7 @@ type="danger" class="shadow" icon="remove" - @click="mapDraw.remove(selectedFeature?.feature)" + @click="mapDraw.remove(selectedFeature?.feature, true)" /> @@ -57,7 +57,7 @@