C# Class SuperMap.WindowsPhone.Samples.MercatorUtility

Show file Open project: SuperMap/iClient-WP8-Example

Public Methods

Method Description
DegreesToRadians ( double deg ) : double
LatLonToMeters ( Point2D point ) : Point2D
MetersToLatLon ( Point2D point ) : Point2D
RadiansToDegrees ( double rad ) : double

Private Methods

Method Description
LogicalPointToPoint2D ( Point logicalPoint ) : Point2D
MetersPerPixel ( Size viewSize, double zoomLevel, Point2D point ) : double
Point2DToLogicalPoint ( Point2D point ) : Point

Method Details

DegreesToRadians() public static method

public static DegreesToRadians ( double deg ) : double
deg double
return double

LatLonToMeters() public static method

public static LatLonToMeters ( Point2D point ) : Point2D
point SuperMap.WindowsPhone.Core.Point2D
return SuperMap.WindowsPhone.Core.Point2D

MetersToLatLon() public static method

public static MetersToLatLon ( Point2D point ) : Point2D
point SuperMap.WindowsPhone.Core.Point2D
return SuperMap.WindowsPhone.Core.Point2D

RadiansToDegrees() public static method

public static RadiansToDegrees ( double rad ) : double
rad double
return double