OpenLayers OpenLayers

Changeset 1867

Show
Ignore:
Timestamp:
11/15/06 16:54:35 (2 years ago)
Author:
pgiraud
Message:

reset featureCollection value in initialize
but should not have to be done

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sandbox/vector/lib/OpenLayers/Parser/GML.js

    r1851 r1867  
    2525        var newArguments = arguments; 
    2626         
     27        // pgiraud : should not have to be initialized 
     28        this.featureCollection = []; 
     29         
    2730        var featureNodes = OpenLayers.Ajax.getElementsByTagNameNS(xmlNode, "http://www.opengis.net/gml","gml", "featureMember"); 
    2831        for (var i=0; i < featureNodes.length; i++) { 
     
    3639     
    3740    destroy: function() { 
     41        this.featureCollection = []; 
    3842        OpenLayers.Parser.prototype.destroy.apply(this, arguments); 
    3943    },