示例#1
0
        /// <summary>
        /// Get the heading from one grid to another.
        /// </summary>
        /// <param name="destination"></param>
        /// <returns></returns>
        private string GetHeading(string destination)
        {
            string homeLocation = settings.Grid;
            double azimuth      = MaidenheadLocator.Azimuth(homeLocation.ToUpper(), destination.ToUpper());

            return(string.Format("{0:0.##}", azimuth));
        }