Add default stability level to docs of exported things.
This commit is contained in:
@@ -9,6 +9,7 @@ goog.require('ol.source.Image');
|
||||
* @constructor
|
||||
* @extends {ol.layer.Layer}
|
||||
* @param {ol.layer.LayerOptions} options Layer options.
|
||||
* @todo stability experimental
|
||||
*/
|
||||
ol.layer.Image = function(options) {
|
||||
goog.base(this, options);
|
||||
|
||||
@@ -13,6 +13,7 @@ goog.require('ol.source.Source');
|
||||
* @constructor
|
||||
* @extends {ol.layer.Base}
|
||||
* @param {ol.layer.LayerOptions} options Layer options.
|
||||
* @todo stability experimental
|
||||
*/
|
||||
ol.layer.Layer = function(options) {
|
||||
|
||||
@@ -62,6 +63,7 @@ ol.layer.Layer.prototype.getLayerStatesArray = function(opt_obj) {
|
||||
|
||||
/**
|
||||
* @return {ol.source.Source} Source.
|
||||
* @todo stability experimental
|
||||
*/
|
||||
ol.layer.Layer.prototype.getSource = function() {
|
||||
return this.source_;
|
||||
|
||||
@@ -27,6 +27,7 @@ ol.layer.GroupProperty = {
|
||||
* @constructor
|
||||
* @extends {ol.layer.Base}
|
||||
* @param {ol.layer.GroupOptions=} opt_options Layer options.
|
||||
* @todo stability experimental
|
||||
*/
|
||||
ol.layer.Group = function(opt_options) {
|
||||
|
||||
@@ -146,6 +147,7 @@ ol.layer.Group.prototype.handleLayersRemove_ = function(collectionEvent) {
|
||||
|
||||
/**
|
||||
* @return {ol.Collection} Collection of layers.
|
||||
* @todo stability experimental
|
||||
*/
|
||||
ol.layer.Group.prototype.getLayers = function() {
|
||||
return /** @type {ol.Collection} */ (this.get(
|
||||
@@ -159,6 +161,7 @@ goog.exportProperty(
|
||||
|
||||
/**
|
||||
* @param {ol.Collection} layers Collection of layers.
|
||||
* @todo stability experimental
|
||||
*/
|
||||
ol.layer.Group.prototype.setLayers = function(layers) {
|
||||
this.set(ol.layer.GroupProperty.LAYERS, layers);
|
||||
|
||||
@@ -17,6 +17,7 @@ ol.layer.TileProperty = {
|
||||
* @constructor
|
||||
* @extends {ol.layer.Layer}
|
||||
* @param {ol.layer.TileOptions} options Tile layer options.
|
||||
* @todo stability experimental
|
||||
*/
|
||||
ol.layer.Tile = function(options) {
|
||||
|
||||
@@ -31,6 +32,7 @@ goog.inherits(ol.layer.Tile, ol.layer.Layer);
|
||||
|
||||
/**
|
||||
* @return {number} Preload.
|
||||
* @todo stability experimental
|
||||
*/
|
||||
ol.layer.Tile.prototype.getPreload = function() {
|
||||
return /** @type {number} */ (this.get(ol.layer.TileProperty.PRELOAD));
|
||||
@@ -51,6 +53,7 @@ ol.layer.Tile.prototype.getTileSource = function() {
|
||||
|
||||
/**
|
||||
* @param {number} preload Preload.
|
||||
* @todo stability experimental
|
||||
*/
|
||||
ol.layer.Tile.prototype.setPreload = function(preload) {
|
||||
this.set(ol.layer.TileProperty.PRELOAD, preload);
|
||||
|
||||
@@ -137,6 +137,7 @@ ol.layer.FeatureCache.prototype.remove = function(feature, opt_extent) {
|
||||
* @constructor
|
||||
* @extends {ol.layer.Layer}
|
||||
* @param {ol.layer.VectorLayerOptions} options Vector layer options.
|
||||
* @todo stability experimental
|
||||
*/
|
||||
ol.layer.Vector = function(options) {
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@ goog.require('ol.source.Vector2');
|
||||
* @constructor
|
||||
* @extends {ol.layer.Layer}
|
||||
* @param {ol.layer.LayerOptions} options Options.
|
||||
* @todo stability experimental
|
||||
*/
|
||||
ol.layer.Vector2 = function(options) {
|
||||
goog.base(this, options);
|
||||
|
||||
Reference in New Issue
Block a user