nnng
Coordinate transformation between OSGB36 and WGS84 in JavaScript. Uses the Proj4js library.
Usage
$ npm install --save nnng
Example
var nnng = ; nnng;// [ 52.65797660129558, 1.716038442825891 ] nnng;// [ 651408.871587621, 313168.4539022284 ]
Documentation
nnng.from(x, y)
Takes an OSGB36 grid reference, or northing/easting. Returns a WGS84 longitude/latitude.
nnng.to(lon, lat)
Takes a WGS84 longitude/latitude. Returns an OSGB36 grid reference, or northing/easting.
About
Made by Miëtek Bak. Published under the MIT X11 license.