Remove redundant call

This commit is contained in:
Tom Payne
2012-08-07 12:07:00 +02:00
parent 161b15c6aa
commit 2983a2ef02
+1 -3
View File
@@ -82,9 +82,7 @@ ol.dom.TileLayerRenderer.prototype.render = function() {
tile = tileStore.getTile(tileCoord); tile = tileStore.getTile(tileCoord);
if (goog.isNull(tile)) { if (goog.isNull(tile)) {
} else { } else {
if (!tile.isLoaded()) { tile.load();
tile.load();
}
this.renderedTiles_[key] = tile; this.renderedTiles_[key] = tile;
pixelBounds = tileGrid.getPixelBoundsForTileCoordAndResolution( pixelBounds = tileGrid.getPixelBoundsForTileCoordAndResolution(
tileCoord, mapResolution); tileCoord, mapResolution);