just skip tiles that are currently loading when creating the back buffer
This commit is contained in:
@@ -472,7 +472,7 @@ OpenLayers.Layer.Grid = OpenLayers.Class(OpenLayers.Layer.HTTPRequest, {
|
|||||||
for(var j=0, lenJ=this.grid[i].length; j<lenJ; j++) {
|
for(var j=0, lenJ=this.grid[i].length; j<lenJ; j++) {
|
||||||
var tile = this.grid[i][j].createBackBuffer();
|
var tile = this.grid[i][j].createBackBuffer();
|
||||||
if(!tile) {
|
if(!tile) {
|
||||||
return;
|
continue;
|
||||||
}
|
}
|
||||||
// to be able to correctly position the back buffer we
|
// to be able to correctly position the back buffer we
|
||||||
// place the tiles grid at (0, 0) in the back buffer
|
// place the tiles grid at (0, 0) in the back buffer
|
||||||
|
|||||||
Reference in New Issue
Block a user