Use mergeNewParams. Best regards, Bart
-- Bart van den Eijnden OSGIS, Open Source GIS http://www.osgis.nl --------- Oorspronkelijk bericht -------- Van: Andrea Maschio <[EMAIL PROTECTED]> Naar: [email protected] <[email protected]> Onderwerp: [OpenLayers-Users] WMS filter and redraw Datum: 05/03/08 09:24 > Hi all, i have a filter on a WMS layer, with a PropertyIsGreaterThan and > a date property. What I'd like to do is to change at runtime the date > with which the property is compared, and the redraw the layer. > > Probably I could destroy the layer and rebuild a new layer with the > filter: property properly set, but i would like to know if there's a > method to change the filter at runtime and then call the redraw() method. > > Thanks > > Andrea Maschio > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > > _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
