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 1/2] =?UTF-8?q?=EB=B9=84=ED=96=89=EA=B5=AC=EC=97=AD=20-=20?= =?UTF-8?q?POLYGON=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 371e591b..c2b42fc0 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 = []; From c78576316784ed07fea1f9be329fd59ff5e9eeb2 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:52 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=EB=B9=84=ED=96=89=EA=B5=AC=EC=97=AD=20-=20?= =?UTF-8?q?POLYGON=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/containers/basis/flight/plan/FlightPlanDetailContainer.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/containers/basis/flight/plan/FlightPlanDetailContainer.js b/src/containers/basis/flight/plan/FlightPlanDetailContainer.js index e9ebcb19..57a1820e 100644 --- a/src/containers/basis/flight/plan/FlightPlanDetailContainer.js +++ b/src/containers/basis/flight/plan/FlightPlanDetailContainer.js @@ -379,9 +379,7 @@ const FlightPlanDetailContainer = () => { break; } } - useEffect(()=>{ - console.log("상현>>>>>>",detailData); - },[detailData]) + // 저장 const handleSave = () => {