[OpenLayers-Trac] [OpenLayers] #699: add mergeNewParams to WFS layer

OpenLayers trac at openlayers.org
Mon May 7 13:10:15 EDT 2007


#699: add mergeNewParams to WFS layer
-----------------------+----------------------------------------------------
 Reporter:  tschaub    |       Owner:  tschaub    
     Type:  feature    |      Status:  new        
 Priority:  minor      |   Milestone:  2.5 Release
Component:  Layer.WFS  |     Version:  2.4 RC3    
 Keywords:             |  
-----------------------+----------------------------------------------------
 OpenLayers.Layer.WFS doesn't currently have a mergeNewParams method.
 {{{
     /**
      * Modify parameters for the layer and redraw.
      * @param {Object} newParams
      */
     mergeNewParams:function(newParams) {
         var upperParams = OpenLayers.Util.upperCaseObject(newParams);
         var newArguments = [upperParams];
         OpenLayers.Layer.HTTPRequest.prototype.mergeNewParams.apply(this,
 newArguments);
         //redraw
         this.moveTo(null, true);
     },
 }}}

-- 
Ticket URL: <http://trac.openlayers.org/ticket/699>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list