Browse Source

laanc 비행구역 좌표정보 카드 선택시 에러 수정

pull/2/head
junh_eee(이준희) 10 months ago
parent
commit
d27a599ff1
  1. 22
      src/components/laanc/map/LaancAreaMap.js

22
src/components/laanc/map/LaancAreaMap.js

@ -399,16 +399,18 @@ export default function LaancAreaMap({
className='coords-box'
key={i}
onClick={() => {
if (!isDrag) {
const allObj = drawObj
.getAll()
.features.filter(
o => o.properties.id !== 'BUFFER' && o.properties.id
);
drawObj.changeMode('direct_select', {
featureId: allObj[i].id
});
if (mapControl.drawType === 'DONE') {
if (!isDrag) {
const allObj = drawObj
.getAll()
.features.filter(
o => o.properties.id !== 'BUFFER' && o.properties.id
);
drawObj.changeMode('direct_select', {
featureId: allObj[i].id
});
}
}
}}
>

Loading…
Cancel
Save