Class
EPSG900913Converter

Convert co-ordinates between WGS-84 and EPSG:900913. Also known as EPSG:3857 and Pseudo-Mercator projection.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.RadMap.dll

Syntax:

cs-api-definition
public class EPSG900913Converter : ICoordinateConverter

Inheritance: objectEPSG900913Converter

Implements: ICoordinateConverter

Constructors

EPSG900913Converter()

Declaration

cs-api-definition
public EPSG900913Converter()

Methods

ConvertBack(List<PointG>)

Convert from the collection of coordinates are given in the form specific for the coordinate system other than WGS 1984 to the collection of the WGS 1984 coordinates.

Declaration

cs-api-definition
public List<PointG> ConvertBack(List<PointG> collection)

Parameters

collection

List<PointG>

Collection of coordinates are given in the form specific for the coordinate system.

Returns

List<PointG>

Converted collection.

Implements ICoordinateConverter.ConvertBack(List<PointG>)

ConvertTo(List<PointG>)

Convert from the collection of coordinates are given in the WGS 1984 coordinates to the form specific for the coordinate system other than WGS 1984.

Declaration

cs-api-definition
public List<PointG> ConvertTo(List<PointG> collection)

Parameters

collection

List<PointG>

Collection of coordinates are given in the form specific for the coordinate system.

Returns

List<PointG>

Converted collection.

Implements ICoordinateConverter.ConvertTo(List<PointG>)

FromLocation(PointG)

Converts from the latitude/longitude to the representation specific for the coordinate system other than WGS 1984.

Declaration

cs-api-definition
public PointG FromLocation(PointG location)

Parameters

location

PointG

Location to be converter.

Returns

PointG

Coordinate system specific location.

Implements ICoordinateConverter.FromLocation(PointG)

ToLocation(object)

Convert OS grid reference to the WGS 1984 latitude/longitude.

Declaration

cs-api-definition
public PointG ToLocation(object coordinates)

Parameters

coordinates

object

OS grid reference. Can be string which represents standard grid reference, or Point object which represents fully numeric reference.

Returns

PointG

Location.

Implements ICoordinateConverter.ToLocation(object)

ToString(PointG)

Converts Location to Coordinate system specific string.

Declaration

cs-api-definition
public string ToString(PointG location)

Parameters

location

PointG

Location.

Returns

string

Coordinate system specific string.

Implements ICoordinateConverter.ToString(PointG)