김지은 10 months ago
parent
commit
59fb98cfd8
  1. 9
      src/components/laanc/map/LaancDrawControl.js

9
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) {

Loading…
Cancel
Save