Merge pull request #7094 from icholy/master

Add missing zIndex options
This commit is contained in:
Tim Schaub
2017-08-09 13:45:09 -06:00
committed by GitHub

View File

@@ -3851,7 +3851,8 @@ olx.layer.GroupOptions.prototype.layers;
* maxResolution: (number|undefined), * maxResolution: (number|undefined),
* opacity: (number|undefined), * opacity: (number|undefined),
* source: (ol.source.Vector|undefined), * source: (ol.source.Vector|undefined),
* visible: (boolean|undefined)}} * visible: (boolean|undefined),
* zIndex: (number|undefined)}}
*/ */
olx.layer.HeatmapOptions; olx.layer.HeatmapOptions;
@@ -3948,6 +3949,15 @@ olx.layer.HeatmapOptions.prototype.source;
olx.layer.HeatmapOptions.prototype.visible; olx.layer.HeatmapOptions.prototype.visible;
/**
* The z-index for layer rendering. At rendering time, the layers will be
* ordered, first by Z-index and then by position. The default Z-index is 0.
* @type {number|undefined}
* @api
*/
olx.layer.HeatmapOptions.prototype.zIndex;
/** /**
* @typedef {{opacity: (number|undefined), * @typedef {{opacity: (number|undefined),
* map: (ol.Map|undefined), * map: (ol.Map|undefined),
@@ -3955,7 +3965,8 @@ olx.layer.HeatmapOptions.prototype.visible;
* visible: (boolean|undefined), * visible: (boolean|undefined),
* extent: (ol.Extent|undefined), * extent: (ol.Extent|undefined),
* minResolution: (number|undefined), * minResolution: (number|undefined),
* maxResolution: (number|undefined)}} * maxResolution: (number|undefined),
* zIndex: (number|undefined)}}
*/ */
olx.layer.ImageOptions; olx.layer.ImageOptions;
@@ -4020,6 +4031,15 @@ olx.layer.ImageOptions.prototype.minResolution;
olx.layer.ImageOptions.prototype.maxResolution; olx.layer.ImageOptions.prototype.maxResolution;
/**
* The z-index for layer rendering. At rendering time, the layers will be
* ordered, first by Z-index and then by position. The default Z-index is 0.
* @type {number|undefined}
* @api
*/
olx.layer.ImageOptions.prototype.zIndex;
/** /**
* @typedef {{opacity: (number|undefined), * @typedef {{opacity: (number|undefined),
* preload: (number|undefined), * preload: (number|undefined),
@@ -4029,7 +4049,8 @@ olx.layer.ImageOptions.prototype.maxResolution;
* extent: (ol.Extent|undefined), * extent: (ol.Extent|undefined),
* minResolution: (number|undefined), * minResolution: (number|undefined),
* maxResolution: (number|undefined), * maxResolution: (number|undefined),
* useInterimTilesOnError: (boolean|undefined)}} * useInterimTilesOnError: (boolean|undefined),
* zIndex: (number|undefined)}}
*/ */
olx.layer.TileOptions; olx.layer.TileOptions;
@@ -4111,6 +4132,15 @@ olx.layer.TileOptions.prototype.maxResolution;
olx.layer.TileOptions.prototype.useInterimTilesOnError; olx.layer.TileOptions.prototype.useInterimTilesOnError;
/**
* The z-index for layer rendering. At rendering time, the layers will be
* ordered, first by Z-index and then by position. The default Z-index is 0.
* @type {number|undefined}
* @api
*/
olx.layer.TileOptions.prototype.zIndex;
/** /**
* @typedef {{renderOrder: (ol.RenderOrderFunction|null|undefined), * @typedef {{renderOrder: (ol.RenderOrderFunction|null|undefined),
* minResolution: (number|undefined), * minResolution: (number|undefined),
@@ -4122,7 +4152,8 @@ olx.layer.TileOptions.prototype.useInterimTilesOnError;
* style: (ol.style.Style|Array.<ol.style.Style>|ol.StyleFunction|undefined), * style: (ol.style.Style|Array.<ol.style.Style>|ol.StyleFunction|undefined),
* updateWhileAnimating: (boolean|undefined), * updateWhileAnimating: (boolean|undefined),
* updateWhileInteracting: (boolean|undefined), * updateWhileInteracting: (boolean|undefined),
* visible: (boolean|undefined)}} * visible: (boolean|undefined),
* zIndex: (number|undefined)}}
*/ */
olx.layer.VectorOptions; olx.layer.VectorOptions;
@@ -4237,6 +4268,15 @@ olx.layer.VectorOptions.prototype.updateWhileInteracting;
olx.layer.VectorOptions.prototype.visible; olx.layer.VectorOptions.prototype.visible;
/**
* The z-index for layer rendering. At rendering time, the layers will be
* ordered, first by Z-index and then by position. The default Z-index is 0.
* @type {number|undefined}
* @api
*/
olx.layer.VectorOptions.prototype.zIndex;
/** /**
* @typedef {{extent: (ol.Extent|undefined), * @typedef {{extent: (ol.Extent|undefined),
* map: (ol.Map|undefined), * map: (ol.Map|undefined),
@@ -4251,7 +4291,8 @@ olx.layer.VectorOptions.prototype.visible;
* style: (ol.style.Style|Array.<ol.style.Style>|ol.StyleFunction|undefined), * style: (ol.style.Style|Array.<ol.style.Style>|ol.StyleFunction|undefined),
* updateWhileAnimating: (boolean|undefined), * updateWhileAnimating: (boolean|undefined),
* updateWhileInteracting: (boolean|undefined), * updateWhileInteracting: (boolean|undefined),
* visible: (boolean|undefined)}} * visible: (boolean|undefined),
* zIndex: (number|undefined)}}
*/ */
olx.layer.VectorTileOptions; olx.layer.VectorTileOptions;
@@ -4393,6 +4434,15 @@ olx.layer.VectorTileOptions.prototype.updateWhileInteracting;
olx.layer.VectorTileOptions.prototype.visible; olx.layer.VectorTileOptions.prototype.visible;
/**
* The z-index for layer rendering. At rendering time, the layers will be
* ordered, first by Z-index and then by position. The default Z-index is 0.
* @type {number|undefined}
* @api
*/
olx.layer.VectorOptions.prototype.zIndex;
/** /**
* Namespace. * Namespace.
* @type {Object} * @type {Object}