OpenLayers OpenLayers

Changeset 7467

Show
Ignore:
Timestamp:
07/06/08 16:44:13 (5 months ago)
Author:
elemoine
Message:

v2-bbox-wfs-gml.html is broken. In an attempt to fix it I discovered a bug in the WFS protocol: the latter expects a filter in the "params" object while it is to be expected in the "options" object. With this, v2-bbox-wfs-gml.html is still broken. sbenthall or tschaub, could you take a look at this example?

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sandbox/vector-behavior/lib/OpenLayers/Protocol/WFS/v1_0_0.js

    r7464 r7467  
    161161            } 
    162162        }); 
    163          
    164         if(params.filter){ 
    165             this.setFilterProperty(params.filter); 
    166             var filterNode = this.filterFormat.write(params.filter); 
     163  
     164        var filter = mergedOptions.filter; 
     165        if(filter){ 
     166            this.setFilterProperty(filter); 
     167            var filterNode = this.filterFormat.write(filter); 
    167168            query.appendChild(filterNode);     
    168169        }