Add @api stable annotations to ol.layer.Layer
This commit is contained in:
@@ -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_;
|
||||
|
||||
Reference in New Issue
Block a user