Merge pull request #8132 from fredj/types

Add minZoom to the createResolutionConstraint function return type
This commit is contained in:
Frédéric Junod
2018-04-28 09:00:50 +02:00
committed by GitHub

View File

@@ -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;