New to Telerik UI for WinForms? Start a free 30-day trial

Interface which must be implemented by any coordinate converter.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.RadMap.dll

Syntax:

C#
[TypeConverter(typeof(CoordinateConverters))]
public interface ICoordinateConverter

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#
List<PointG> ConvertBack(List<PointG> collection)
Parameters:collectionList<PointG>

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

Returns:

List<PointG>

Converted collection.

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#
List<PointG> ConvertTo(List<PointG> collection)
Parameters:collectionList<PointG>

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

Returns:

List<PointG>

Converted collection.

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

C#
PointG FromLocation(PointG location)
Parameters:locationPointG

Location to be converter.

Returns:

PointG

Coordinate system location.

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

C#
PointG ToLocation(object coordinates)
Parameters:coordinatesobject

Coordinate system specific object.

Returns:

PointG

Location.

Converts Location to Coordinate system specific string.

C#
string ToString(PointG location)
Parameters:locationPointG

Location.

Returns:

string

Coordinate system specific string.