Class OSGB36Converter
Convert co-ordinates between WGS-84 and OSGB36.
Inheritance
Namespace: Telerik.Windows.Controls.Map
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public class OSGB36Converter : Object, ICoordinateConverter
Constructors
OSGB36Converter()
Declaration
public OSGB36Converter()
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
public LocationCollection ConvertBack(LocationCollection collection)
Parameters
LocationCollection
collection
Collection of coordinates are given in the form specific for the coordinate system. |
Returns
LocationCollection
Converted collection. |
Implements
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
public LocationCollection ConvertTo(LocationCollection collection)
Parameters
LocationCollection
collection
Collection of coordinates are given in the form specific for the coordinate system. |
Returns
LocationCollection
Converted collection. |
Implements
FromLocation(Location)
Converts from the latitude/longitude to the representation specific for the coordinate system other than WGS 1984.
Declaration
public Location FromLocation(Location location)
Parameters
Location
location
Location to be converter. |
Returns
Location
Coordinate system specific location. |
Implements
ToLocation(Object)
Convert OS grid reference to the WGS 1984 latitude/longitude.
Declaration
public Location 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
Location
Location. |
Implements
ToString(Location)
Converts Location to Coordinate system specific string.
Declaration
public string ToString(Location location)
Parameters
Location
location
Location. |
Returns
System.String
Coordinate system specific string. |