[OpenLayers-Users] redrawing a layer?

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


Some copy and paste problems:

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

Best regards,
Bart

Bart van den Eijnden (OSGIS) schreef:
> 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