Add @api stable annotations to ol.layer.Layer

This commit is contained in:
Éric Lemoine
2014-08-18 17:25:35 +02:00
parent efc32b14df
commit 15487d1ce9
2 changed files with 8 additions and 8 deletions

View File

@@ -2437,7 +2437,7 @@ olx.layer.LayerOptions.prototype.hue;
/**
* Opacity (0, 1). Default is `1`.
* @type {number|undefined}
* @api
* @api stable
*/
olx.layer.LayerOptions.prototype.opacity;
@@ -2453,7 +2453,7 @@ olx.layer.LayerOptions.prototype.saturation;
/**
* Source for this layer.
* @type {ol.source.Source}
* @api
* @api stable
*/
olx.layer.LayerOptions.prototype.source;
@@ -2461,7 +2461,7 @@ olx.layer.LayerOptions.prototype.source;
/**
* Visibility. Default is `true` (visible).
* @type {boolean|undefined}
* @api
* @api stable
*/
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
* outside of this extent.
* @type {ol.Extent|undefined}
* @api
* @api stable
*/
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.
* @type {number|undefined}
* @api
* @api stable
*/
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.
* @type {number|undefined}
* @api
* @api stable
*/
olx.layer.LayerOptions.prototype.maxResolution;

View File

@@ -22,7 +22,7 @@ goog.require('ol.source.Source');
* @fires ol.render.Event
* @fires change Triggered when the state of the source changes.
* @param {olx.layer.LayerOptions} options Layer options.
* @api
* @api stable
*/
ol.layer.Layer = function(options) {
@@ -80,7 +80,7 @@ ol.layer.Layer.prototype.getLayerStatesArray = function(opt_states) {
/**
* @return {ol.source.Source} Source.
* @api
* @api stable
*/
ol.layer.Layer.prototype.getSource = function() {
return this.source_;