From d8682442db3cca759d5dfca5c49542380b289d46 Mon Sep 17 00:00:00 2001 From: Matthias Dailey Date: Fri, 2 Feb 2018 17:25:17 -0500 Subject: [PATCH] Comment block update. --- types/openlayers/index.d.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/types/openlayers/index.d.ts b/types/openlayers/index.d.ts index 4b4c718914..e806d60666 100644 --- a/types/openlayers/index.d.ts +++ b/types/openlayers/index.d.ts @@ -12503,10 +12503,11 @@ declare module ol { getRotation(): number; /** - * Get the current zoom level. Return undefined if the current - * resolution is undefined or not within the "resolution constraints". + * Get the current zoom level. If you configured your view with a resolutions + * array (this is rare), this method may return non-integer zoom levels (so + * the zoom level is not safe to use as an index into a resolutions array). * @return {number|undefined} Zoom. - * @api stable + * @api */ getZoom(): number;