[OpenLayers-Users] redrawing a layer?

Bart van den Eijnden (OSGIS) bartvde at osgis.nl
Tue Jan 22 15:14:11 EST 2008


this.layer.*mergeNewParams*({rand: Math.*random*()})

Best regards,
Bart

Gregor Mosheh schreef:
> Hi, all.
>
> OL.Layer has a redraw() method, but experimentation and examination of 
> the code has shown that it doesn't actually *reload* any of the data. 
> Does anyone have code handy, to save me a few hours of reading the docs, 
> to reload a WMS layer?
>
> The need is for use after the digitizer, to have the newly-inserted 
> features redrawn.
>
>   


-- 
Bart van den Eijnden
OSGIS, Open Source GIS
bartvde at osgis.nl
http://www.osgis.nl




More information about the Users mailing list