当对三维模型进行操作时(如导航、平移)二维地图自动跟进。
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
群链接: