Remove unused sphere.maximumLatitude() method

This commit is contained in:
Tim Schaub
2015-08-23 11:51:00 -06:00
parent 3852be0d7e
commit 9cccbd0712
2 changed files with 0 additions and 15 deletions

View File

@@ -126,20 +126,6 @@ ol.Sphere.prototype.interpolate = function(c1, c2, fraction) {
};
/**
* Returns the maximum latitude of the great circle defined by bearing and
* latitude.
*
* @param {number} bearing Bearing.
* @param {number} latitude Latitude.
* @return {number} Maximum latitude.
*/
ol.Sphere.prototype.maximumLatitude = function(bearing, latitude) {
return Math.cos(Math.abs(Math.sin(goog.math.toRadians(bearing)) *
Math.cos(goog.math.toRadians(latitude))));
};
/**
* Returns the midpoint between c1 and c2.
*