#region 鹰眼图
IElement pOverViewElement = null;//鹰眼图Element
IEnvelope pCurrentEnveop = null;
bool IsMove = false;
private void axMapControl1_OnExtentUpdated(object sender, IMapControlEvents2_OnExtentUpdatedEvent e)
{
if (pOverViewElement != null)
{
upDataOverViewMap();
}
}
private IElement InitOverViewMap()
{
if (axMapControl1.DocumentFilename == null) { Tools.ShowInfoWindow("当前未加载地图",1); return null; }
axMapControl2.LoadMxFile(axMapControl1.DocumentFilename);
axMapControl2.Extent = axMapControl2.FullExtent;
axMapControl2.OnMouseMove += new IMapControlEvents2_Ax_OnMouseMoveEventHandler(axMapControl2_OnMouseMove);
axMapControl2.OnMouseDown += new IMapCont
ArcEngine双向联动鹰眼图源码
最新推荐文章于 2022-07-05 09:21:20 发布