Class OSGB36Converter
Convert co-ordinates between WGS-84 and OSGB36.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.RadMap.dll
Syntax
public class OSGB36Converter : ICoordinateConverter
Constructors
OSGB36Converter()
Declaration
public OSGB36Converter()
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
public 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. |
Implements
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
public 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. |
Implements
FromLocation(PointG)
Converts from the latitude/longitude to the representation specific for the coordinate system other than WGS 1984.
Declaration
public PointG FromLocation(PointG location)
Parameters
|
PointG
location
Location to be converter. |
Returns
|
PointG
Coordinate system specific location. |
Implements
ToLocation(Object)
Convert OS grid reference to the WGS 1984 latitude/longitude.
Declaration
public PointG ToLocation(object coordinates)
Parameters
|
System.Object
coordinates
OS grid reference. Can be string which represents standard grid reference, or Point object which represents fully numeric reference. |
Returns
|
PointG
Location. |
Implements
ToString(PointG)
Converts Location to Coordinate system specific string.
Declaration
public string ToString(PointG location)
Parameters
|
PointG
location
Location. |
Returns
|
System.String
Coordinate system specific string. |