Rename useTileZXY to useTile

This commit is contained in:
Tom Payne
2013-03-25 11:45:20 +01:00
parent f7cc8fa738
commit 9906c518a7
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -322,7 +322,7 @@ ol.renderer.Layer.prototype.manageTilePyramid =
tileQueue.enqueue(tile, tileSourceKey, tileCenter, tileResolution); tileQueue.enqueue(tile, tileSourceKey, tileCenter, tileResolution);
} }
} else { } else {
tileSource.useTileZXY(z, x, y); tileSource.useTile(z, x, y);
} }
} }
} }
+1 -1
View File
@@ -111,7 +111,7 @@ ol.source.ImageTileSource.prototype.getTile =
/** /**
* @inheritDoc * @inheritDoc
*/ */
ol.source.ImageTileSource.prototype.useTileZXY = function(z, x, y) { ol.source.ImageTileSource.prototype.useTile = function(z, x, y) {
var tileCoordKey = ol.TileCoord.getKeyZXY(z, x, y); var tileCoordKey = ol.TileCoord.getKeyZXY(z, x, y);
if (this.tileCache_.containsKey(tileCoordKey)) { if (this.tileCache_.containsKey(tileCoordKey)) {
this.tileCache_.get(tileCoordKey); this.tileCache_.get(tileCoordKey);
+1 -1
View File
@@ -145,4 +145,4 @@ ol.source.TileSource.prototype.getTileGrid = function() {
* @param {number} x Tile coordinate x. * @param {number} x Tile coordinate x.
* @param {number} y Tile coordinate y. * @param {number} y Tile coordinate y.
*/ */
ol.source.TileSource.prototype.useTileZXY = goog.nullFunction; ol.source.TileSource.prototype.useTile = goog.nullFunction;