Interface ICoordinateConverter
Interface which must be implemented by any coordinate converter.
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.RadMap.dll
Syntax
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
List<PointG> ConvertBack(List<PointG> collection)
Parameters
System.Collections.Generic.List<PointG>
collection
Collection of coordinates are given in the form specific for the coordinate system. |
Returns
System.Collections.Generic.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
List<PointG> ConvertTo(List<PointG> collection)
Parameters
System.Collections.Generic.List<PointG>
collection
Collection of coordinates are given in the form specific for the coordinate system. |
Returns
System.Collections.Generic.List<PointG>
Converted collection. |
FromLocation(PointG)
Converts from the latitude/longitude to the representation specific for the coordinate system other than WGS 1984.
Declaration
PointG FromLocation(PointG location)
Parameters
PointG
location
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
PointG ToLocation(object coordinates)
Parameters
System.Object
coordinates
Coordinate system specific object. |
Returns
PointG
Location. |
ToString(PointG)
Converts Location to Coordinate system specific string.
Declaration
string ToString(PointG location)
Parameters
PointG
location
Location. |
Returns
System.String
Coordinate system specific string. |