give Icon a destroy(). this fixes issue introduced in r520
git-svn-id: http://svn.openlayers.org/trunk/openlayers@523 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -40,6 +40,10 @@ OpenLayers.Icon.prototype = {
|
||||
|
||||
this.imageDiv = OpenLayers.Util.createAlphaImageDiv();
|
||||
},
|
||||
|
||||
destroy: function() {
|
||||
this.imageDiv = null;
|
||||
},
|
||||
|
||||
/**
|
||||
* @returns A fresh copy of the icon.
|
||||
|
||||
Reference in New Issue
Block a user