Interface ICoordinateConverter
Interface which must be implemented by any coordinate converter.
Namespace: Telerik.Windows.Controls.Map
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
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
LocationCollection ConvertBack(LocationCollection collection)
Parameters
LocationCollection
collection
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
LocationCollection ConvertTo(LocationCollection collection)
Parameters
LocationCollection
collection
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
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
Location ToLocation(object coordinates)
Parameters
System.Object
coordinates
Coordinate system specific object. |
Returns
Location
Location. |
ToString(Location)
Converts Location to Coordinate system specific string.
Declaration
string ToString(Location location)
Parameters
Location
location
Location. |
Returns
System.String
Coordinate system specific string. |