set all properties of layer to null on destroy. add test.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@883 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -74,6 +74,9 @@ OpenLayers.Layer.prototype = {
|
||||
this.map.removeLayer(this);
|
||||
}
|
||||
this.map = null;
|
||||
this.name = null;
|
||||
this.div = null;
|
||||
this.options = null;
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user