当前位置:软件学习 > 其它软件 >>

跟据某个坐标如何进行空间定位

我想用c#+arcgis 实现一个根据某个坐标(x,y)来定位到位置,并显示该点的相关信息,就像arcMap中的根据坐标定位的功能按钮一样,有谁实现过,能不能给一个例子源码。小弟现在没有分了,希望各位高手指点。 --------------------编程问答-------------------- 没有人回答我啊 --------------------编程问答--------------------  axMapControl1.CenterAt(IPoint centerPoint) --------------------编程问答-------------------- 根据已知坐标构造点对象,再定位
axMapControl1.CenterAt(IPoint centerPoint)
注意你坐标的格式 --------------------编程问答-------------------- IActiveView activeView = (IActiveView)(m_MainForm.GetMapControl.Map);
IEnvelope env = activeView.ScreenDisplay.DisplayTransformation.VisibleBounds;
IPoint point = (IPoint)(selfeature.ShapeCopy);
env.CenterAt(point);
activeView.ScreenDisplay.DisplayTransformation.VisibleBounds = env;
activeView.Refresh();
补充:企业软件 ,  地理信息系统
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,