Join short lines

This commit is contained in:
Tom Payne
2013-01-14 20:52:09 +01:00
parent 183aac90fa
commit c679bccbb9
+1 -2
View File
@@ -105,8 +105,7 @@ ol.renderer.dom.TileLayer.prototype.renderFrame =
return; return;
} }
tile = tileSource.getTile(tileCoord); tile = tileSource.getTile(tileCoord);
if (!goog.isNull(tile) && if (!goog.isNull(tile) && tile.getState() == ol.TileState.LOADED) {
tile.getState() == ol.TileState.LOADED) {
if (!tilesToDrawByZ[z]) { if (!tilesToDrawByZ[z]) {
tilesToDrawByZ[z] = {}; tilesToDrawByZ[z] = {};
} }