add minZoom and maxZoom options

This commit is contained in:
mike-000
2020-02-17 16:55:15 +00:00
committed by GitHub
parent edb94af314
commit d0e439ee80

View File

@@ -31,6 +31,10 @@ import {assert} from '../asserts.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("../source/Source.js").default} [source] Source for this layer. If not provided to the constructor,
* the source can be set by calling {@link module:ol/layer/Layer#setSource layer.setSource(source)} after
* construction.