WebMercatorConvertWebMercatortoLatLong(WebMercator) Method
Converts Web Mercator coordinate to Lat/Long.
Namespace: CoordinateSharpAssembly: CoordinateSharp (in CoordinateSharp.dll) Version: 3.1.1.1
XMLNS for XAML: Not mapped to an xmlns.
public static Coordinate ConvertWebMercatortoLatLong(
WebMercator wmt
)
- wmt WebMercator
- Web Mercator
CoordinateCoordinate
The following example creates (converts to) a geodetic Coordinate object based on a Web Mercator object.
WebMercator wmc = new WebMercator(8284118.2, 6339892.6);
Coordinate c = WebMercator.ConvertWebMercatortoLatLong(wmc);
Console.WriteLine(c); //N 49º 22' 54.431" E 74º 25' 3"