Update Parameters in Openlayers2

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Update Parameters in Openlayers2

This post has NOT been accepted by the mailing list yet.
Hello Everyone ,

I am working with openlayers2 and i am creating a layer from geoserver based on sql view.
What i want to change layer parameter from  javascript.

In ol3 i use :
                                'viewparams': 'column:' + val1 +';'+ 'column1:' + val2 +';'+ 'column2:' + val4

Does Exist anyone updateParams() in openlayers 2?