Skip to content

Commit

Permalink
hide internal mercatorScale function from api docs
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewharvey committed Oct 10, 2019
1 parent 2dbbf63 commit 1413df1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/geo/mercator_coordinate.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export function altitudeFromMercatorZ(z: number, y: number) {
*
* @param {number} lat Latitude
* @returns {number} scale factor
* @private
*/
export function mercatorScale(lat: number) {
return 1 / Math.cos(lat * Math.PI / 180);
Expand Down

0 comments on commit 1413df1

Please sign in to comment.