|
|
@ -56,7 +56,7 @@ const FlightPlanAreaMap = props => { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}, [areaCoordList, map]); |
|
|
|
}, [areaCoordList]); |
|
|
|
|
|
|
|
|
|
|
|
const ModeInit = () => { |
|
|
|
const ModeInit = () => { |
|
|
|
setMode(mapControl.drawType); |
|
|
|
setMode(mapControl.drawType); |
|
|
@ -162,7 +162,7 @@ const FlightPlanAreaMap = props => { |
|
|
|
|
|
|
|
|
|
|
|
<div style={{ position: 'relative' }}> |
|
|
|
<div style={{ position: 'relative' }}> |
|
|
|
<div id='map' style={{ width: '100%', height: '60vh' }}> |
|
|
|
<div id='map' style={{ width: '100%', height: '60vh' }}> |
|
|
|
{isMapLoad ? ( |
|
|
|
{map ? ( |
|
|
|
<FlightPlanDraw |
|
|
|
<FlightPlanDraw |
|
|
|
map={map} |
|
|
|
map={map} |
|
|
|
naver={naver} |
|
|
|
naver={naver} |
|
|
|