Remove unused sphere.finalBearing() method

This commit is contained in:
Tim Schaub
2015-08-23 11:46:20 -06:00
parent c74277cae8
commit 8ec2bcef17
2 changed files with 0 additions and 40 deletions

View File

@@ -88,18 +88,6 @@ ol.Sphere.prototype.equirectangularDistance = function(c1, c2) {
};
/**
* Returns the final bearing from c1 to c2.
*
* @param {ol.Coordinate} c1 Coordinate 1.
* @param {ol.Coordinate} c2 Coordinate 2.
* @return {number} Initial bearing.
*/
ol.Sphere.prototype.finalBearing = function(c1, c2) {
return (this.initialBearing(c2, c1) + 180) % 360;
};
/**
* Returns the distance from c1 to c2 using the haversine formula.
*