getLatLongFromOSGB method

LatLong getLatLongFromOSGB(
  1. int easting,
  2. int northing, [
  3. dynamic datum
])

Returns a latitude and longitude value in a given datum (default WGS84) for a given easting and northing value

Implementation

LatLong getLatLongFromOSGB(int easting, int northing, [var datum]) {
  OSRef osRef = new OSRef(easting, northing);
  LatLong latLong = osRef.toLatLon(datum);
  return latLong;
}