Fix tileSize in the canvastilelayerrenderer.

This commit is contained in:
Bruno Binet
2013-03-04 07:30:33 +01:00
parent 93131d6105
commit 07e0fc3a20

View File

@@ -174,6 +174,7 @@ ol.renderer.canvas.TileLayer.prototype.renderFrame =
var currentZ, i, scale, tileCoordKey, tileExtent, tilesToDraw;
for (i = 0; i < zs.length; ++i) {
currentZ = zs[i];
tileSize = tileGrid.getTileSize(currentZ);
tilesToDraw = tilesToDrawByZ[currentZ];
if (currentZ == z) {
for (tileCoordKey in tilesToDraw) {