Table of Contents

Method WebMercatorToGps

Namespace
Pinwheel.Vista.RealWorldData
Assembly
Pinwheel.Vista.RealWorldData.Runtime.dll

WebMercatorToGps(GeoPoint, int)

Converts a Web Mercator pixel-space point back into longitude/latitude coordinates.

public static GeoPoint WebMercatorToGps(this GeoPoint p, int zoom = 0)

Parameters

p GeoPoint

Point in Web Mercator pixel coordinates.

zoom int

Zoom level used when the Web Mercator coordinates were produced.

Returns

GeoPoint

The converted GPS point.