Add ol.source.TileWMS#getUrls

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

View File

@@ -1,4 +1,5 @@
@exportSymbol ol.source.TileWMS
@exportProperty ol.source.TileWMS.prototype.getGetFeatureInfoUrl
@exportProperty ol.source.TileWMS.prototype.getParams
@exportProperty ol.source.TileWMS.prototype.getUrls
@exportProperty ol.source.TileWMS.prototype.updateParams

View File

@@ -302,6 +302,16 @@ ol.source.TileWMS.prototype.getTilePixelSize =
};
/**
* Return the URLs used for this WMS source.
* @return {Array.<string>|undefined} URLs.
* @todo stability experimental
*/
ol.source.TileWMS.prototype.getUrls = function() {
return this.urls_;
};
/**
* @private
*/