UNPKG

proj4

Version:

Proj4js is a JavaScript library to transform point coordinates from one coordinate system to another, including datum transformations.

5 lines (4 loc) 109 B
export default function (a, e, sinphi) { var temp = e * sinphi; return a / Math.sqrt(1 - temp * temp); }