Rename TileJSONOptions.uri to TileJSONOptions.url

This commit is contained in:
Frederic Junod
2013-03-25 10:17:37 +01:00
parent 560f645384
commit 415e7a6dd4
4 changed files with 4 additions and 4 deletions

View File

@@ -155,7 +155,7 @@
@exportObjectLiteral ol.source.TileJSONOptions
@exportObjectLiteralProperty ol.source.TileJSONOptions.crossOrigin null|string|undefined
@exportObjectLiteralProperty ol.source.TileJSONOptions.uri string
@exportObjectLiteralProperty ol.source.TileJSONOptions.url string
@exportObjectLiteral ol.source.TiledWMSOptions
@exportObjectLiteralProperty ol.source.TiledWMSOptions.attributions Array.<ol.Attribution>|undefined

View File

@@ -61,7 +61,7 @@ ol.source.TileJSON = function(tileJsonOptions) {
* @type {!goog.async.Deferred}
*/
this.deferred_ =
goog.net.jsloader.load(tileJsonOptions.uri, {cleanupWhenDone: true});
goog.net.jsloader.load(tileJsonOptions.url, {cleanupWhenDone: true});
this.deferred_.addCallback(this.handleTileJSONResponse, this);
};