From 3dc4e546bf96a3a7fc230153c2ab05b2fbcd0676 Mon Sep 17 00:00:00 2001 From: mike-000 <49240900+mike-000@users.noreply.github.com> Date: Mon, 17 Feb 2020 16:47:55 +0000 Subject: [PATCH] add minZoom and maxZoom options --- src/ol/layer/BaseImage.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ol/layer/BaseImage.js b/src/ol/layer/BaseImage.js index 59b971c657..676d7f3154 100644 --- a/src/ol/layer/BaseImage.js +++ b/src/ol/layer/BaseImage.js @@ -19,6 +19,10 @@ import Layer from './Layer.js'; * visible. * @property {number} [maxResolution] The maximum resolution (exclusive) below which this layer will * be visible. + * @property {number} [minZoom] The minimum view zoom level (exclusive) above which this layer will be + * visible. + * @property {number} [maxZoom] The maximum view zoom level (inclusive) at which this layer will + * be visible. * @property {import("../PluggableMap.js").default} [map] Sets the layer as overlay on a map. The map will not manage * this layer in its layers collection, and the layer will be rendered on top. This is useful for * temporary layers. The standard way to add a layer to a map and have it managed by the map is to