From 75c29bb3c97ecf88787256fe07629421efe23645 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?junh=5Feee=28=EC=9D=B4=EC=A4=80=ED=9D=AC=29?= Date: Tue, 23 Aug 2022 14:03:09 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B9=84=ED=96=89=EA=B5=AC=EC=97=AD=20-=20POLY?= =?UTF-8?q?GON=20=EB=B0=98=EA=B2=BD=20=EC=B4=88=EA=B8=B0=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/map/naver/draw/FlightPlanDraw.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/map/naver/draw/FlightPlanDraw.js b/src/components/map/naver/draw/FlightPlanDraw.js index 371e591..c2b42fc 100644 --- a/src/components/map/naver/draw/FlightPlanDraw.js +++ b/src/components/map/naver/draw/FlightPlanDraw.js @@ -532,9 +532,12 @@ export const FlightPlanDraw = props => { } const setAreaInfo = (path) => { + let bufferZone = 100; + if(polygon) bufferZone = 0; + areaInfo = { coordinates: [], - bufferZone: 100, + bufferZone: bufferZone, }; let prePath = [];