diff options
Diffstat (limited to 'loleaflet')
-rw-r--r-- | loleaflet/src/layer/tile/CanvasTileLayer.js | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/loleaflet/src/layer/tile/CanvasTileLayer.js b/loleaflet/src/layer/tile/CanvasTileLayer.js index 8643f8bf7..6d6aacecd 100644 --- a/loleaflet/src/layer/tile/CanvasTileLayer.js +++ b/loleaflet/src/layer/tile/CanvasTileLayer.js @@ -253,7 +253,7 @@ L.CanvasTilePainter = L.Class.extend({ !splitPosChanged && !scaleChanged); - console.debug('Tile size: ' + this._layer._getTileSize()); +// console.debug('Tile size: ' + this._layer._getTileSize()); if (skipUpdate) return; @@ -306,10 +306,14 @@ L.CanvasTilePainter = L.Class.extend({ var key = coords.key(); var tile = this._layer._tiles[key]; - var invalid = tile && tile._invalidCount && tile._invalidCount > 0; - if (tile && tile.loaded && !invalid) { +// var invalid = tile && tile._invalidCount && tile._invalidCount > 0; + if (tile && tile.loaded) { this.paint(tile, ctx); } +/* else + console.log('missing tile at ' + i + ', ' + j + ' ' + + tile + ' ' + (tile && tile.loaded) + ' ' + + (tile ? tile._invalidCount : -42) + ' ' + invalid); */ } } } |