diff --git a/externs/olx.js b/externs/olx.js index 406ec9b2a7..ab2364f048 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -2534,6 +2534,7 @@ olx.layer.GroupOptions.prototype.hue; /** * Opacity (0, 1). Default is `1`. * @type {number|undefined} + * @api stable */ olx.layer.GroupOptions.prototype.opacity; @@ -2541,6 +2542,7 @@ olx.layer.GroupOptions.prototype.opacity; /** * Saturation. Default is `1`. * @type {number|undefined} + * @api */ olx.layer.GroupOptions.prototype.saturation; @@ -2548,7 +2550,7 @@ olx.layer.GroupOptions.prototype.saturation; /** * Visibility. Default is `true`. * @type {boolean|undefined} - * @api + * @api stable */ olx.layer.GroupOptions.prototype.visible; @@ -2557,7 +2559,7 @@ olx.layer.GroupOptions.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.GroupOptions.prototype.extent; @@ -2565,7 +2567,7 @@ olx.layer.GroupOptions.prototype.extent; /** * The minimum resolution (inclusive) at which this layer will be visible. * @type {number|undefined} - * @api + * @api stable */ olx.layer.GroupOptions.prototype.minResolution; @@ -2573,7 +2575,7 @@ olx.layer.GroupOptions.prototype.minResolution; /** * The maximum resolution (exclusive) below which this layer will be visible. * @type {number|undefined} - * @api + * @api stable */ olx.layer.GroupOptions.prototype.maxResolution; @@ -2581,7 +2583,7 @@ olx.layer.GroupOptions.prototype.maxResolution; /** * Child layers. * @type {Array.|ol.Collection.|undefined} - * @api + * @api stable */ olx.layer.GroupOptions.prototype.layers; diff --git a/src/ol/layer/layergroup.js b/src/ol/layer/layergroup.js index b89e46435f..c685a6ec2c 100644 --- a/src/ol/layer/layergroup.js +++ b/src/ol/layer/layergroup.js @@ -33,7 +33,7 @@ ol.layer.GroupProperty = { * @extends {ol.layer.Base} * @fires change Triggered when the group/Collection changes. * @param {olx.layer.GroupOptions=} opt_options Layer options. - * @api + * @api stable */ ol.layer.Group = function(opt_options) { @@ -148,7 +148,7 @@ ol.layer.Group.prototype.handleLayersRemove_ = function(collectionEvent) { * @return {ol.Collection.|undefined} Collection of * {@link ol.layer.Layer layers} that are part of this group. * @observable - * @api + * @api stable */ ol.layer.Group.prototype.getLayers = function() { return /** @type {ol.Collection.|undefined} */ (this.get( @@ -164,7 +164,7 @@ goog.exportProperty( * @param {ol.Collection.|undefined} layers Collection of * {@link ol.layer.Layer layers} that are part of this group. * @observable - * @api + * @api stable */ ol.layer.Group.prototype.setLayers = function(layers) { this.set(ol.layer.GroupProperty.LAYERS, layers);