From c4dba00c542fc52c3cc3cdddf9cebe20b2e5d53c Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Fri, 27 Apr 2018 16:21:59 +0200 Subject: [PATCH] Add minZoom to the createResolutionConstraint function return type --- src/ol/View.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ol/View.js b/src/ol/View.js index 8fcb3d5cb5..2af5ac324a 100644 --- a/src/ol/View.js +++ b/src/ol/View.js @@ -1240,7 +1240,7 @@ export function createCenterConstraint(options) { /** * @param {module:ol/View~ViewOptions} options View options. * @return {{constraint: module:ol/resolutionconstraint~Type, maxResolution: number, - * minResolution: number, zoomFactor: number}} The constraint. + * minResolution: number, minZoom: number, zoomFactor: number}} The constraint. */ export function createResolutionConstraint(options) { let resolutionConstraint;