Rename getTileZXY to getTile

This commit is contained in:
Tom Payne
2013-03-25 10:10:03 +01:00
parent dfb631a08f
commit 65e6ed3485
8 changed files with 20 additions and 20 deletions

View File

@@ -116,7 +116,7 @@ ol.renderer.dom.TileLayer.prototype.renderFrame =
for (x = tileRange.minX; x <= tileRange.maxX; ++x) {
for (y = tileRange.minY; y <= tileRange.maxY; ++y) {
tile = tileSource.getTileZXY(z, x, y, tileGrid, projection);
tile = tileSource.getTile(z, x, y, tileGrid, projection);
tileState = tile.getState();
if (tileState == ol.TileState.LOADED) {
tilesToDrawByZ[z][tile.tileCoord.toString()] = tile;