コード例 #1
0
        internal void GoToLookAt(WorldWindow oTarget)
        {
            KMLLookAt oView = m_oSourceFile.Document.View as KMLLookAt;

            if (oView != null)
            {
                oTarget.GoToLatLonHeadingViewRange(oView.Latitude, oView.Longitude, oView.Heading, oView.Range);
            }
            else
            {
                oTarget.GoToBoundingBox(m_oBounds, false);
            }
        }