Azavea.Open.Reprojection.Reprojector.ReprojectWGS84ToWebMercator C# (CSharp) Method

ReprojectWGS84ToWebMercator() public static method

Convert lat/long decimal degree coordinates (WGS84 datum) to X / Y coordinates in Web Mercator projection (meters). Note that this is a manual re-projection and does not use PROJ.Net.
public static ReprojectWGS84ToWebMercator ( double lon, double lat ) : Point
lon double longitude in decimal degrees based on WGS84 horizontal datum
lat double latitude in decimal degrees based on WGS84 horizontal datum
return Point
        public static Point ReprojectWGS84ToWebMercator(double lon, double lat)
        {
            return new Point(ConvertLongitudeToMercatorX(lon), ConvertLatitudeToMercatorY(lat));
        }