Clone needs a fresh backBuffer and tileQueue.
This commit is contained in:
@@ -323,6 +323,9 @@ OpenLayers.Layer.Grid = OpenLayers.Class(OpenLayers.Layer.HTTPRequest, {
|
||||
// we do not want to copy reference to grid, so we make a new array
|
||||
obj.grid = [];
|
||||
obj.gridResolution = null;
|
||||
// same for backbuffer and tile queue
|
||||
obj.backBuffer = null;
|
||||
obj.tileQueue = [];
|
||||
|
||||
return obj;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user