From 7a576b15d545d9eea07bfdedeafbf4758e9e6eb9 Mon Sep 17 00:00:00 2001 From: JANGHYUNn Date: Thu, 25 Jul 2024 15:10:20 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B1=B0=EB=A6=AC=EC=B8=A1=EC=A0=95=20?= =?UTF-8?q?=EA=B8=B0=EB=8A=A5=20=EC=82=AC=EC=9A=A9=EC=8B=9C=20=EA=B3=B5?= =?UTF-8?q?=EC=97=AD=20=EB=8D=B0=EC=9D=B4=ED=84=B0=EB=B8=94=EB=A1=9D=20?= =?UTF-8?q?=EB=B9=84=ED=99=9C=EC=84=B1=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/map/mapbox/MapBoxMap.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/components/map/mapbox/MapBoxMap.js b/src/components/map/mapbox/MapBoxMap.js index 5b14ae22..13fb503f 100644 --- a/src/components/map/mapbox/MapBoxMap.js +++ b/src/components/map/mapbox/MapBoxMap.js @@ -671,6 +671,11 @@ export default function MapBoxMap({ handlerDrawObjInit }) { }); map.on('click', 'maine', e => { + if ( + drawObj.getMode() === 'draw_line_string' || + drawObj.getMode() === 'draw_polygon' + ) + return; let isMaine = false; let isOperation = false;