OpenLayers OpenLayers

Changeset 2968

Show
Ignore:
Timestamp:
04/02/07 06:52:10 (2 years ago)
Author:
crschmidt
Message:

#605 "OpenLayers.Feature.Vector: destroy() is defined twice" by fredj, patch
by euzuro. thx euz, fredj.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/lib/OpenLayers/Feature/Vector.js

    r2949 r2968  
    5555    }, 
    5656     
    57          
     57    /** 
     58     *  
     59     */ 
     60    destroy: function() { 
     61        this.geometry = null; 
     62        OpenLayers.Feature.prototype.destroy.apply(this, arguments); 
     63    }, 
     64     
    5865   /** 
    5966    * @returns An exact clone of this OpenLayers.Feature 
     
    7279 
    7380    /** 
    74      *  
    75      */ 
    76     destroy: function() { 
    77         this.geometry = null; 
    78         OpenLayers.Feature.prototype.destroy.apply(this, arguments); 
    79     }, 
    80      
    81     /** 
    8281     * HACK - we need to rewrite this for non-point geometry 
    8382     * @returns null - we need to rewrite this for non-point geometry 
     
    236235            this.state = state; 
    237236        } 
    238     }, 
    239      
    240     destroy: function() { 
    241      
    242237    }, 
    243238