Browse Source

비행계획서 공역 좌표 지정시 경고 얼럿 미표출

master
junh_eee(이준희) 1 year ago
parent
commit
ca6465f9f1
  1. 2
      src/components/map/naver/draw/FlightPlanDraw.js
  2. 18
      src/containers/basis/flight/plan/FlightPlanAreaDetailContainer.js

2
src/components/map/naver/draw/FlightPlanDraw.js

@ -861,7 +861,7 @@ export const FlightPlanDraw_init = props => {
data.position = midPoint;
data.color = '#737373';
data.content = text;
anchor: new naver.maps.Point(20, 35);
data.anchor = new naver.maps.Point(20, 35);
createMarker(data);
}
}

18
src/containers/basis/flight/plan/FlightPlanAreaDetailContainer.js

@ -55,15 +55,15 @@ const FlightPlanAreaDetailContainer = ({ handleModal, isDone, isDisabled }) => {
resultAreaDetail
);
if (data.result) {
setAlertModal({
isOpen: true,
title: '우회 여부 확인',
desc: '경로상에 비행 금지된 구역이 있습니다.\n우회하여 경로 설정해주시기 바랍니다.'
});
return false;
}
// if (data.result) {
// setAlertModal({
// isOpen: true,
// title: '우회 여부 확인',
// desc: '경로상에 비행 금지된 구역이 있습니다.\n우회하여 경로 설정해주시기 바랍니다.'
// });
// return false;
// }
dispatch(Actions.AREA_DETAIL_LIST_SAVE(resultAreaDetail));
handleModal({ type: 'area', isOpne: false });

Loading…
Cancel
Save