当对三维模型进行操作时(如导航、平移)二维地图自动跟进。
private void Synckron()
{
m_pGlobe = this._GlobeControl.Globe;
m_pMap = this._MapControl.Map;
//初始化同步窗口
m_pSynchronizationWindows = new SynchronizationWindows(ref m_pGlobe, ref m_pMap);
m_pSynchronizationWindows.SwitchSynchronize(true);
//初始化同步类型(三维主动)
m_pSynchronizationWindows.eSyncDirection = esriChina.MapViewer3D.Synchronization.SynchronizationWindows.SyncDirection.From3D_To_2D;
axGlobeISSyn._pAxMapControl = this._MapControl;
}
WPF、AE技术交流群:94234450
群链接:http://wp.qq.com/wpa/qunwpa?idkey=14e3d476b4a53a3a1502183e5a384d94b8be74b7510c0a76e67c4dec61f23781