Class
OSGB36Converter

Convert co-ordinates between WGS-84 and OSGB36.

Definition

Namespace:Telerik.Windows.Controls.Map

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

cs-api-definition
public class OSGB36Converter : ICoordinateConverter

Inheritance: objectOSGB36Converter

Implements: ICoordinateConverter

Constructors

OSGB36Converter()

Declaration

cs-api-definition
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

cs-api-definition
public LocationCollection ConvertBack(LocationCollection collection)

Parameters

collection

LocationCollection

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

Returns

LocationCollection

Converted collection.

Implements ICoordinateConverter.ConvertBack(LocationCollection)

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

cs-api-definition
public LocationCollection ConvertTo(LocationCollection collection)

Parameters

collection

LocationCollection

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

Returns

LocationCollection

Converted collection.

Implements ICoordinateConverter.ConvertTo(LocationCollection)

FromLocation(Location)

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

Declaration

cs-api-definition
public Location FromLocation(Location location)

Parameters

location

Location

Location to be converter.

Returns

Location

Coordinate system specific location.

Implements ICoordinateConverter.FromLocation(Location)

ToLocation(object)

Convert OS grid reference to the WGS 1984 latitude/longitude.

Declaration

cs-api-definition
public Location ToLocation(object coordinates)

Parameters

coordinates

object

OS grid reference. Can be string which represents standard grid reference, or Point object which represents fully numeric reference.

Returns

Location

Location.

Implements ICoordinateConverter.ToLocation(object)

ToString(Location)

Converts Location to Coordinate system specific string.

Declaration

cs-api-definition
public string ToString(Location location)

Parameters

location

Location

Location.

Returns

string

Coordinate system specific string.

Implements ICoordinateConverter.ToString(Location)