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

View File

@@ -322,7 +322,7 @@ ol.renderer.Layer.prototype.manageTilePyramid =
tileQueue.enqueue(tile, tileSourceKey, tileCenter, tileResolution);
}
} else {
tileSource.useTileZXY(z, x, y);
tileSource.useTile(z, x, y);
}
}
}

View File

@@ -111,7 +111,7 @@ ol.source.ImageTileSource.prototype.getTile =
/**
* @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);
if (this.tileCache_.containsKey(tileCoordKey)) {
this.tileCache_.get(tileCoordKey);

View File

@@ -145,4 +145,4 @@ ol.source.TileSource.prototype.getTileGrid = function() {
* @param {number} x Tile coordinate x.
* @param {number} y Tile coordinate y.
*/
ol.source.TileSource.prototype.useTileZXY = goog.nullFunction;
ol.source.TileSource.prototype.useTile = goog.nullFunction;