diff --git a/src/components/laanc/map/LaancDrawControl.js b/src/components/laanc/map/LaancDrawControl.js index df72a5c0..b57c2a2a 100644 --- a/src/components/laanc/map/LaancDrawControl.js +++ b/src/components/laanc/map/LaancDrawControl.js @@ -119,6 +119,12 @@ export const LaancDrawControl = props => { } } } + + if (state.currentVertexPosition > 6) { + drawObj.changeMode('direct_select', { + featureId: obj.id + }); + } }; // 도형 그리기 완료 시 @@ -568,7 +574,8 @@ export const LaancDrawControl = props => { handlerCreateGroupMarker(mapObject, data, area.areaType); } dispatch(drawTypeChangeAction('DONE')); - drawObj.changeMode('simple_select'); + // console.log('333'); + // drawObj.changeMode('simple_select'); } }); } else if (areas.length > 0 && areas[0].areaType) {