Better documentation of the zIndex default
This commit is contained in:
@@ -14,7 +14,9 @@ import {assign} from '../obj.js';
|
|||||||
* @property {module:ol/extent~Extent} [extent] The bounding extent for layer rendering. The layer will not be
|
* @property {module:ol/extent~Extent} [extent] The bounding extent for layer rendering. The layer will not be
|
||||||
* rendered outside of this extent.
|
* rendered outside of this extent.
|
||||||
* @property {number} [zIndex] The z-index for layer rendering. At rendering time, the layers
|
* @property {number} [zIndex] The z-index for layer rendering. At rendering time, the layers
|
||||||
* will be ordered, first by Z-index and then by position. When undefined, a zIndex of 0 is assumed.
|
* will be ordered, first by Z-index and then by position. When `undefined`, a `zIndex` of 0 is assumed
|
||||||
|
* for layers that are added to the map's `layers` collection, or `Infinity` when the layer's `setMap()`
|
||||||
|
* method was used.
|
||||||
* @property {number} [minResolution] The minimum resolution (inclusive) at which this layer will be
|
* @property {number} [minResolution] The minimum resolution (inclusive) at which this layer will be
|
||||||
* 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
|
||||||
|
|||||||
Reference in New Issue
Block a user