New to Telerik UI for WPFStart a free 30-day trial

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

Definition

Namespace:Telerik.Windows.Controls.Map

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

C#
public class EPSG900913Converter : ICoordinateConverter

Inheritance: objectEPSG900913Converter

Implements: ICoordinateConverter

Constructors

C#
public EPSG900913Converter()

Methods

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.

C#
public LocationCollection ConvertBack(LocationCollection collection)
Parameters:collectionLocationCollection

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

Returns:

LocationCollection

Converted collection.

Implements: ICoordinateConverter.ConvertBack(LocationCollection)

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.

C#
public LocationCollection ConvertTo(LocationCollection collection)
Parameters:collectionLocationCollection

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

Returns:

LocationCollection

Converted collection.

Implements: ICoordinateConverter.ConvertTo(LocationCollection)

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

C#
public Location FromLocation(Location location)
Parameters:locationLocation

Location to be converter.

Returns:

Location

Coordinate system specific location.

Implements: ICoordinateConverter.FromLocation(Location)

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

C#
public Location ToLocation(object coordinates)
Parameters:coordinatesobject

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

Returns:

Location

Location.

Implements: ICoordinateConverter.ToLocation(object)

Converts Location to Coordinate system specific string.

C#
public string ToString(Location location)
Parameters:locationLocation

Location.

Returns:

string

Coordinate system specific string.

Implements: ICoordinateConverter.ToString(Location)