OpenLayers OpenLayers

Changeset 527

Show
Ignore:
Timestamp:
06/05/06 15:01:10 (3 years ago)
Author:
euzuro
Message:

on destroy() of a WFS feature, remove its marker

Files:

Legend:

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

    r432 r527  
    2525        } 
    2626    }, 
     27     
     28    destroy: function() { 
     29        if (this.marker != null) { 
     30            this.layer.removeMarker(this.marker);   
     31        } 
     32        OpenLayers.Feature.prototype.destroy.apply(this, arguments); 
     33    }, 
    2734 
    2835    /**