Skip to content

v3.0.0

Choose a tag to compare

@mourner mourner released this 18 May 13:47
  • Breaking: changed the API from cheapRuler(...) to new CheapRuler(...) (more idiomatic for ES).
  • Switched to ES and exposed as a ES module. CommonJS/browser builds remain ES5-compatible.
  • Added pointToSegmentDistance(p, a, b) method.
  • Fixed all methods to work across the date line.
  • Breaking: switched from FCC formulas (based on Clarke ellipsoid) to a more modern WGS84 Ellipsoid model of the Earth, so the values calculated may change slightly.