OSRef Constructor |
Name | Description | |
---|---|---|
OSRef(String) |
Take a string formatted as a 6, 8 or 10 figure OS grid reference (e.g. "TG514131")
and create a new OSRef object that represents that grid reference. The
first character must be H, N, S, O or T. The second character can be any
uppercase character from A through Z excluding I.
| |
OSRef(LatLng) |
Convert this latitude and longitude into an OSGB (Ordnance Survey of Great
Britain) grid reference.
| |
OSRef(Double, Double) |
Create a new Ordnance Survey grid reference using a given easting and
northing. The easting and northing must be in metres and must be relative
to the origin of the British National Grid.
|