Interface
ICoordinateConverter

Interface which must be implemented by any coordinate converter.

Definition

Namespace:Telerik.Windows.Controls.Map

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

cs-api-definition
[TypeConverter(typeof(CoordinateConverters))]
public interface ICoordinateConverter

Methods

ConvertBack(LocationCollection)

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
LocationCollection ConvertBack(LocationCollection collection)

Parameters

collection

LocationCollection

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

Returns

LocationCollection

Converted collection.

ConvertTo(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.

Declaration

cs-api-definition
LocationCollection ConvertTo(LocationCollection collection)

Parameters

collection

LocationCollection

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

Returns

LocationCollection

Converted collection.

FromLocation(Location)

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

Declaration

cs-api-definition
Location FromLocation(Location location)

Parameters

location

Location

Location to be converter.

Returns

Location

Coordinate system location.

ToLocation(object)

Converts from the coordinate system specific object to the WGS 1984 latitude/longitude.

Declaration

cs-api-definition
Location ToLocation(object coordinates)

Parameters

coordinates

object

Coordinate system specific object.

Returns

Location

Location.

ToString(Location)

Converts Location to Coordinate system specific string.

Declaration

cs-api-definition
string ToString(Location location)

Parameters

location

Location

Location.

Returns

string

Coordinate system specific string.