使用的版本为 openlayers-v4.5.0
参考
https://openlayers.org/en/v4.6.5/apidoc/ol.Sphere.html
var wgs84Sphere= new ol.Sphere(6378137);wgs84Sphere.haversineDistance([120.2931124328, 23.574681332299978], [120.2930280027, 23.574718841200024]);// ans: 9.572910515703411