From c9f9b2ae22542f349515422b7660c2846bb58253 Mon Sep 17 00:00:00 2001 From: Andrew Harvey Date: Mon, 28 Oct 2019 14:41:38 +1100 Subject: [PATCH] hide internal mercatorScale function from api docs (#8856) --- src/geo/mercator_coordinate.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/geo/mercator_coordinate.js b/src/geo/mercator_coordinate.js index 76b0e0d41fc..02bba7eb8fe 100644 --- a/src/geo/mercator_coordinate.js +++ b/src/geo/mercator_coordinate.js @@ -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);