Method WebMercatorToViewport100
- Namespace
- Pinwheel.Vista.RealWorldData
- Assembly
- Pinwheel.Vista.RealWorldData.Runtime.dll
WebMercatorToViewport100(GeoPoint, int)
Converts a Web Mercator pixel-space point into the normalized viewport-100 coordinate space used by the tile utilities.
public static GeoPoint WebMercatorToViewport100(this GeoPoint p, int zoom = 0)
Parameters
pGeoPointPoint in Web Mercator pixel coordinates.
zoomintZoom level used when the Web Mercator coordinates were produced.
Returns
- GeoPoint
The converted point where the visible square spans approximately -100 to 100 on each axis.