copy the actual tileSize object, not just the reference.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@900 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-07-06 12:47:09 +00:00
parent 3d52b3e4c5
commit c13f7f5d4d

View File

@@ -65,6 +65,7 @@ OpenLayers.Layer.Grid.prototype =
}
// copy/set any non-init, non-simple values here
obj.tileSize = this.tileSize.copyOf();
//get all additions from superclasses
return OpenLayers.Layer.HTTPRequest.prototype.clone.apply(this, [obj]);