OpenLayers OpenLayers

Ticket #1536: patch-1536-r7059-A0.diff

File patch-1536-r7059-A0.diff, 0.7 kB (added by elemoine, 7 months ago)
  • lib/OpenLayers/Layer/Vector.js

    old new  
    191191     * Destroy this layer 
    192192     */ 
    193193    destroy: function() { 
    194         OpenLayers.Layer.prototype.destroy.apply(this, arguments);   
    195  
    196194        this.destroyFeatures(); 
    197195        this.features = null; 
    198196        this.selectedFeatures = null; 
     
    202200        this.renderer = null; 
    203201        this.geometryType = null; 
    204202        this.drawn = null; 
     203        OpenLayers.Layer.prototype.destroy.apply(this, arguments);   
    205204    }, 
    206205 
    207206    /**