示例#1
0
        /// <summary>
        /// Returns the latitude and longitude corresponding to a screen point.
        /// </summary>
        /// <param name="p">
        /// The screen point.
        /// </param>
        /// <returns>The latitude and longitude corresponding to the screen point.</returns>
        public ILocation PointToLocation(Point p)
        {
            var loc = TheMap.ViewportPointToLocation(p);

            return(new FischerLocation(loc.Latitude, loc.Longitude));
        }