nullify all Grid-specific values. just for good measure
git-svn-id: http://svn.openlayers.org/trunk/openlayers@899 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -44,6 +44,8 @@ OpenLayers.Layer.Grid.prototype =
|
|||||||
destroy: function() {
|
destroy: function() {
|
||||||
this.clearGrid();
|
this.clearGrid();
|
||||||
this.grid = null;
|
this.grid = null;
|
||||||
|
this.alpha = null;
|
||||||
|
this.tileSize = null;
|
||||||
OpenLayers.Layer.HTTPRequest.prototype.destroy.apply(this, arguments);
|
OpenLayers.Layer.HTTPRequest.prototype.destroy.apply(this, arguments);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user