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

Interface which must be implemented by any coordinate converter.

Definition

Namespace:Telerik.Windows.Controls.Map

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

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

Derived Classes: EPSG900913ConverterOSGB36Converter

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#
LocationCollection ConvertBack(LocationCollection collection)
Parameters:collectionLocationCollection

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

Returns:

LocationCollection

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#
LocationCollection ConvertTo(LocationCollection collection)
Parameters:collectionLocationCollection

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

Returns:

LocationCollection

Converted collection.

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

C#
Location FromLocation(Location location)
Parameters:locationLocation

Location to be converter.

Returns:

Location

Coordinate system location.

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

C#
Location ToLocation(object coordinates)
Parameters:coordinatesobject

Coordinate system specific object.

Returns:

Location

Location.

Converts Location to Coordinate system specific string.

C#
string ToString(Location location)
Parameters:locationLocation

Location.

Returns:

string

Coordinate system specific string.