Пример #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.ScreenToMap(p);

            return(new EsriLocation(loc.Y, loc.X));
        }