Add @api stable annotations for ol.source.ImageWMS
This commit is contained in:
@@ -23,7 +23,7 @@ goog.require('ol.source.wms.ServerType');
|
||||
* @constructor
|
||||
* @extends {ol.source.Image}
|
||||
* @param {olx.source.ImageWMSOptions=} opt_options Options.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.source.ImageWMS = function(opt_options) {
|
||||
|
||||
@@ -123,7 +123,7 @@ ol.source.ImageWMS.GETFEATUREINFO_IMAGE_SIZE_ = [101, 101];
|
||||
* in the `LAYERS` parameter will be used. `VERSION` should not be
|
||||
* specified here.
|
||||
* @return {string|undefined} GetFeatureInfo URL.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.source.ImageWMS.prototype.getGetFeatureInfoUrl =
|
||||
function(coordinate, resolution, projection, params) {
|
||||
@@ -163,7 +163,7 @@ ol.source.ImageWMS.prototype.getGetFeatureInfoUrl =
|
||||
* 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.ImageWMS.prototype.getParams = function() {
|
||||
return this.params_;
|
||||
@@ -304,7 +304,7 @@ ol.source.ImageWMS.prototype.getRequestUrl_ =
|
||||
/**
|
||||
* Return the URL used for this WMS source.
|
||||
* @return {string|undefined} URL.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.source.ImageWMS.prototype.getUrl = function() {
|
||||
return this.url_;
|
||||
@@ -313,7 +313,7 @@ ol.source.ImageWMS.prototype.getUrl = function() {
|
||||
|
||||
/**
|
||||
* @param {string|undefined} url URL.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.source.ImageWMS.prototype.setUrl = function(url) {
|
||||
if (url != this.url_) {
|
||||
@@ -327,7 +327,7 @@ ol.source.ImageWMS.prototype.setUrl = function(url) {
|
||||
/**
|
||||
* Update the user-provided params.
|
||||
* @param {Object} params Params.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.source.ImageWMS.prototype.updateParams = function(params) {
|
||||
goog.object.extend(this.params_, params);
|
||||
|
||||
Reference in New Issue
Block a user