[OpenLayers-Users] WMS filter and redraw
Bart van den Eijnden (OSGIS)
bartvde at osgis.nl
Wed Mar 5 06:36:52 EST 2008
Use mergeNewParams.
Best regards,
Bart
--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl
--------- Oorspronkelijk bericht --------
Van: Andrea Maschio <andrea.maschio at gmail.com>
Naar: users at openlayers.org <users at openlayers.org>
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
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
>
More information about the Users
mailing list