when cloning a layer that is loading, make sure numLoadingTiles is reset to 0 on the clone

This commit is contained in:
Bart van den Eijnden
2013-01-16 16:26:51 +01:00
parent 86c425774a
commit d7f013ddbd
2 changed files with 5 additions and 2 deletions

View File

@@ -428,6 +428,7 @@ OpenLayers.Layer.Grid = OpenLayers.Class(OpenLayers.Layer.HTTPRequest, {
obj.backBuffer = null;
obj.backBufferTimerId = null;
obj.loading = false;
obj.numLoadingTiles = 0;
return obj;
},