Join short lines

This commit is contained in:
Tom Payne
2013-01-14 20:52:09 +01:00
parent 183aac90fa
commit c679bccbb9

View File

@@ -105,8 +105,7 @@ ol.renderer.dom.TileLayer.prototype.renderFrame =
return;
}
tile = tileSource.getTile(tileCoord);
if (!goog.isNull(tile) &&
tile.getState() == ol.TileState.LOADED) {
if (!goog.isNull(tile) && tile.getState() == ol.TileState.LOADED) {
if (!tilesToDrawByZ[z]) {
tilesToDrawByZ[z] = {};
}