type(fix):修复添加tiff文件下航线设计的一些bug。

pull/18/head
cbwu 1 year ago
parent 95deac9d18
commit f00f8abdb1

@ -1221,6 +1221,8 @@ void CGISDlg::Openlocalfile(CString file)
m_Layer->AddLayerInfo(filename,2);
m_map.ZoomToLayer(tiffLayerID);
//是否已经加载了地图
m_bHaveAddMap = true;
}
@ -3454,6 +3456,7 @@ void CGISDlg::ClearDrawingInLineDesign()
if (m_designLineLayerID2 != -1)
{
m_map.RemoveLayer(m_designLineLayerID2);
m_designLineLayerID2 = -1;
}
//m_map.ClearLabels(m_designLineLayerID);
}
@ -3908,7 +3911,7 @@ void CGISDlg::DrawDesignLineData()
m_map.ClearDrawing(m_designLineLayerID);
m_designLineLayerID = m_map.NewDrawing(1);
long index = m_map.GetLayerPosition(m_designLineLayerID);
BOOL b= m_map.MoveLayerUp(index);
//BOOL b= m_map.MoveLayerUp(index);
int i = 0;
//绘制航点及其标注

Loading…
Cancel
Save