refactoring, and renamings in tilegrid.js (related to continous zooming)

This commit is contained in:
Éric Lemoine
2012-07-21 23:52:56 +02:00
parent 753ebab2ad
commit 014c5e8905
4 changed files with 106 additions and 86 deletions

View File

@@ -227,7 +227,7 @@ ol.webgl.TileLayerRenderer.prototype.redraw = function() {
var tileStore = tileLayer.getStore();
var tileGrid = tileStore.getTileGrid();
var z = tileGrid.getZForResolution(resolution);
var tileBounds = tileGrid.getExtentTileBounds(z, extent);
var tileBounds = tileGrid.getTileBoundsForExtentAndZ(extent, z);
var tileBoundsSize = tileBounds.getSize();
var tileSize = tileGrid.getTileSize();