Check this setRadiusFilter function that Kris mentioned before. Hes combining two filters there.
var combinedFilter=new OpenLayers.Filter.Logical({ type:OpenLayers.Filter.Logical.AND, filters:[filter,radiusFilter] }); http://openlayers.org/dev/examples/filter.html cheers On Thu, Nov 26, 2009 at 3:55 PM, stash <steffen.schwar...@googlemail.com> wrote: > > Hi, > > I have one more question and I hope you can answer it. At the moment i have > one filter which is working. But now, I want to add a second filter to my > wfs protocol. > > Is that possible? adding both filters (the variables) in defaultFilter at > the protocol params doesn't work. > > Thanks for the help > > Regards > stash > > -- > View this message in context: > http://n2.nabble.com/WFS-Filter-tp4049517p4071529.html > Sent from the OpenLayers Users mailing list archive at Nabble.com. > _______________________________________________ > Users mailing list > Users@openlayers.org > http://openlayers.org/mailman/listinfo/users > -- Ivan Grcic _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users