Add ol.source.ImageWMS#getUrl

This commit is contained in:
Éric Lemoine
2014-04-10 09:11:03 +02:00
parent e4c2cf0b63
commit ee1b4e08a1
2 changed files with 11 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
@exportSymbol ol.source.ImageWMS @exportSymbol ol.source.ImageWMS
@exportProperty ol.source.ImageWMS.prototype.getGetFeatureInfoUrl @exportProperty ol.source.ImageWMS.prototype.getGetFeatureInfoUrl
@exportProperty ol.source.ImageWMS.prototype.getParams @exportProperty ol.source.ImageWMS.prototype.getParams
@exportProperty ol.source.ImageWMS.prototype.getUrl
@exportProperty ol.source.ImageWMS.prototype.setUrl @exportProperty ol.source.ImageWMS.prototype.setUrl
@exportProperty ol.source.ImageWMS.prototype.updateParams @exportProperty ol.source.ImageWMS.prototype.updateParams

View File

@@ -312,6 +312,16 @@ ol.source.ImageWMS.prototype.getRequestUrl_ =
}; };
/**
* Return the URL used for this WMS source.
* @return {string|undefined} URL.
* @todo stability experimental
*/
ol.source.ImageWMS.prototype.getUrl = function() {
return this.url_;
};
/** /**
* @param {string|undefined} url URL. * @param {string|undefined} url URL.
*/ */