ArcStache.WebMercatorUtil.WebMercatorToGeographic C# (CSharp) Method

WebMercatorToGeographic() public static method

Converts a coordinate pair in web mercator auxillary sphere projection (WKID 102100) to geographic (4326).
public static WebMercatorToGeographic ( double x, double y ) : Point
x double The x coordinate.
y double The y coordinate.
return Point
        public static Point WebMercatorToGeographic(double x, double y)
        {
            var longitude = XToLongitude(x);
            var latitude = YToLatitude(y);
            return new Point() { X = longitude, Y = latitude };
        }