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.position = midPoint;
data.color = '#737373'; data.color = '#737373';
data.content = text; data.content = text;
anchor: new naver.maps.Point(20, 35); data.anchor = new naver.maps.Point(20, 35);
createMarker(data); createMarker(data);
} }
} }

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

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

Loading…
Cancel
Save