From fa4fcf3886fd28fcff423370831ff7176f734924 Mon Sep 17 00:00:00 2001 From: mike-000 <49240900+mike-000@users.noreply.github.com> Date: Mon, 17 Feb 2020 16:59:40 +0000 Subject: [PATCH] add minZoom and maxZoom options --- src/ol/layer/WebGLPoints.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ol/layer/WebGLPoints.js b/src/ol/layer/WebGLPoints.js index cddb218a54..cdcea572b4 100644 --- a/src/ol/layer/WebGLPoints.js +++ b/src/ol/layer/WebGLPoints.js @@ -23,6 +23,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("../source/Vector.js").default} [source] Source. * @property {boolean} [disableHitDetection=false] Setting this to true will provide a slight performance boost, but will * prevent all hit detection on the layer.