Ticket #581: iconDestroy.patch
| File iconDestroy.patch, 394 bytes (added by euzuro, 2 years ago) |
|---|
-
lib/OpenLayers/Icon.js
old new 51 51 }, 52 52 53 53 destroy: function() { 54 OpenLayers.Event.stopObserving(this.imageDiv.firstChild); 55 this.imageDiv.innerHTML = ""; 54 56 this.imageDiv = null; 55 57 }, 56 58
