Add @api stable annotations to ol.layer.Layer
This commit is contained in:
+6
-6
@@ -2437,7 +2437,7 @@ olx.layer.LayerOptions.prototype.hue;
|
|||||||
/**
|
/**
|
||||||
* Opacity (0, 1). Default is `1`.
|
* Opacity (0, 1). Default is `1`.
|
||||||
* @type {number|undefined}
|
* @type {number|undefined}
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
olx.layer.LayerOptions.prototype.opacity;
|
olx.layer.LayerOptions.prototype.opacity;
|
||||||
|
|
||||||
@@ -2453,7 +2453,7 @@ olx.layer.LayerOptions.prototype.saturation;
|
|||||||
/**
|
/**
|
||||||
* Source for this layer.
|
* Source for this layer.
|
||||||
* @type {ol.source.Source}
|
* @type {ol.source.Source}
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
olx.layer.LayerOptions.prototype.source;
|
olx.layer.LayerOptions.prototype.source;
|
||||||
|
|
||||||
@@ -2461,7 +2461,7 @@ olx.layer.LayerOptions.prototype.source;
|
|||||||
/**
|
/**
|
||||||
* Visibility. Default is `true` (visible).
|
* Visibility. Default is `true` (visible).
|
||||||
* @type {boolean|undefined}
|
* @type {boolean|undefined}
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
olx.layer.LayerOptions.prototype.visible;
|
olx.layer.LayerOptions.prototype.visible;
|
||||||
|
|
||||||
@@ -2470,7 +2470,7 @@ olx.layer.LayerOptions.prototype.visible;
|
|||||||
* The bounding extent for layer rendering. The layer will not be rendered
|
* The bounding extent for layer rendering. The layer will not be rendered
|
||||||
* outside of this extent.
|
* outside of this extent.
|
||||||
* @type {ol.Extent|undefined}
|
* @type {ol.Extent|undefined}
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
olx.layer.LayerOptions.prototype.extent;
|
olx.layer.LayerOptions.prototype.extent;
|
||||||
|
|
||||||
@@ -2478,7 +2478,7 @@ olx.layer.LayerOptions.prototype.extent;
|
|||||||
/**
|
/**
|
||||||
* The minimum resolution (inclusive) at which this layer will be visible.
|
* The minimum resolution (inclusive) at which this layer will be visible.
|
||||||
* @type {number|undefined}
|
* @type {number|undefined}
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
olx.layer.LayerOptions.prototype.minResolution;
|
olx.layer.LayerOptions.prototype.minResolution;
|
||||||
|
|
||||||
@@ -2486,7 +2486,7 @@ olx.layer.LayerOptions.prototype.minResolution;
|
|||||||
/**
|
/**
|
||||||
* The maximum resolution (exclusive) below which this layer will be visible.
|
* The maximum resolution (exclusive) below which this layer will be visible.
|
||||||
* @type {number|undefined}
|
* @type {number|undefined}
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
olx.layer.LayerOptions.prototype.maxResolution;
|
olx.layer.LayerOptions.prototype.maxResolution;
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ goog.require('ol.source.Source');
|
|||||||
* @fires ol.render.Event
|
* @fires ol.render.Event
|
||||||
* @fires change Triggered when the state of the source changes.
|
* @fires change Triggered when the state of the source changes.
|
||||||
* @param {olx.layer.LayerOptions} options Layer options.
|
* @param {olx.layer.LayerOptions} options Layer options.
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
ol.layer.Layer = function(options) {
|
ol.layer.Layer = function(options) {
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@ ol.layer.Layer.prototype.getLayerStatesArray = function(opt_states) {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @return {ol.source.Source} Source.
|
* @return {ol.source.Source} Source.
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
ol.layer.Layer.prototype.getSource = function() {
|
ol.layer.Layer.prototype.getSource = function() {
|
||||||
return this.source_;
|
return this.source_;
|
||||||
|
|||||||
Reference in New Issue
Block a user