add minZoom and maxZoom options
This commit is contained in:
@@ -24,6 +24,10 @@ import {assign} from '../obj.js';
|
|||||||
* visible.
|
* visible.
|
||||||
* @property {number} [maxResolution] The maximum resolution (exclusive) below which this layer will
|
* @property {number} [maxResolution] The maximum resolution (exclusive) below which this layer will
|
||||||
* be visible.
|
* 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("../render.js").OrderFunction} [renderOrder] Render order. Function to be used when sorting
|
* @property {import("../render.js").OrderFunction} [renderOrder] Render order. Function to be used when sorting
|
||||||
* features before rendering. By default features are drawn in the order that they are created. Use
|
* features before rendering. By default features are drawn in the order that they are created. Use
|
||||||
* `null` to avoid the sort, but get an undefined draw order.
|
* `null` to avoid the sort, but get an undefined draw order.
|
||||||
|
|||||||
Reference in New Issue
Block a user