Interface
ICoordinateConverter

Interface which must be implemented by any coordinate converter.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.RadMap.dll

Syntax:

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

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

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

FromLocation(PointG)

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

Declaration

cs-api-definition
PointG FromLocation(PointG location)

Parameters

location

PointG

Location to be converter.

Returns

PointG

Coordinate system location.

ToLocation(object)

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

Declaration

cs-api-definition
PointG ToLocation(object coordinates)

Parameters

coordinates

object

Coordinate system specific object.

Returns

PointG

Location.

ToString(PointG)

Converts Location to Coordinate system specific string.

Declaration

cs-api-definition
string ToString(PointG location)

Parameters

location

PointG

Location.

Returns

string

Coordinate system specific string.