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

@@ -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.
*/