Table of Contents

Class GeoPointExtensions

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

Converts GeoPoint values between GPS, Web Mercator, and viewport-100 coordinate spaces.

public static class GeoPointExtensions
Inheritance
GeoPointExtensions
Inherited Members

Methods

GpsToWebMercator(GeoPoint, int)

Converts a longitude/latitude point into Web Mercator pixel space at the specified zoom level.

ValidateGPS(GeoPoint)

Wraps a GPS point back into the standard longitude and latitude ranges.

Viewport100ToWebMercator(GeoPoint, int)

Converts a viewport-100 point back into Web Mercator pixel space at the specified zoom level.

WebMercatorToGps(GeoPoint, int)

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

WebMercatorToViewport100(GeoPoint, int)

Converts a Web Mercator pixel-space point into the normalized viewport-100 coordinate space used by the tile utilities.