diff --git a/externs/olx.js b/externs/olx.js index 712b21b8d7..13083d582a 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -4508,7 +4508,7 @@ olx.source.TileJSONOptions.prototype.url; * tileLoadFunction: (ol.TileLoadFunctionType|undefined), * url: (string|undefined), * urls: (Array.|undefined)}} - * @api + * @api stable */ olx.source.TileWMSOptions; diff --git a/src/ol/source/tilewmssource.js b/src/ol/source/tilewmssource.js index 422c7fe6f7..742ad31290 100644 --- a/src/ol/source/tilewmssource.js +++ b/src/ol/source/tilewmssource.js @@ -29,7 +29,7 @@ goog.require('ol.tilecoord'); * @constructor * @extends {ol.source.TileImage} * @param {olx.source.TileWMSOptions=} opt_options Tile WMS options. - * @api + * @api stable */ ol.source.TileWMS = function(opt_options) { @@ -123,7 +123,7 @@ goog.inherits(ol.source.TileWMS, ol.source.TileImage); * in the `LAYERS` parameter will be used. `VERSION` should not be * specified here. * @return {string|undefined} GetFeatureInfo URL. - * @api + * @api stable */ ol.source.TileWMS.prototype.getGetFeatureInfoUrl = function(coordinate, resolution, projection, params) { @@ -196,7 +196,7 @@ ol.source.TileWMS.prototype.getKeyZXY = function(z, x, y) { * Get the user-provided params, i.e. those passed to the constructor through * the "params" option, and possibly updated using the updateParams method. * @return {Object} Params. - * @api + * @api stable */ ol.source.TileWMS.prototype.getParams = function() { return this.params_; @@ -296,7 +296,7 @@ ol.source.TileWMS.prototype.getTilePixelSize = /** * Return the URLs used for this WMS source. * @return {!Array.} URLs. - * @api + * @api stable */ ol.source.TileWMS.prototype.getUrls = function() { return this.urls_; @@ -326,7 +326,7 @@ ol.source.TileWMS.prototype.resetCoordKeyPrefix_ = function() { /** * @param {string|undefined} url URL. - * @api + * @api stable */ ol.source.TileWMS.prototype.setUrl = function(url) { var urls = goog.isDef(url) ? ol.TileUrlFunction.expandUrl(url) : null; @@ -336,7 +336,7 @@ ol.source.TileWMS.prototype.setUrl = function(url) { /** * @param {Array.|undefined} urls URLs. - * @api + * @api stable */ ol.source.TileWMS.prototype.setUrls = function(urls) { this.urls_ = goog.isDefAndNotNull(urls) ? urls : []; @@ -401,7 +401,7 @@ ol.source.TileWMS.prototype.tileUrlFunction_ = /** * Update the user-provided params. * @param {Object} params Params. - * @api + * @api stable */ ol.source.TileWMS.prototype.updateParams = function(params) { goog.object.extend(this.params_, params);