Re: [OpenLayers-Users] WMS layer redraw problem [FIXED]

2010-05-14 Thread Walter Lorenzetti
Eric Lemoine ha scritto: On Wednesday, May 12, 2010, Nathan Gerber ngerber...@gmail.com wrote: I have found that the most reliable way to avoid browser caching when I want to force a redraw of a WMS layer is to do something like this: wms_layer.mergeNewParams({'timestamp':datetime}); If

Re: [OpenLayers-Users] WMS layer redraw problem

2010-05-13 Thread Eric Lemoine
On Wednesday, May 12, 2010, Nathan Gerber ngerber...@gmail.com wrote: I have found that the most reliable way to avoid browser caching when I want to force a redraw of a WMS layer is to do something like this: wms_layer.mergeNewParams({'timestamp':datetime}); If you append the current

[OpenLayers-Users] WMS layer redraw problem

2010-05-12 Thread Walter Lorenzetti
Hi all, I build a webgis editing application with OL 2.8, all work fine, but I've a problem with redraw wms layer background: In my application I edit several layers during the editing mode... but on simple watching mode I show that layers like wms layer (by mapserver...)... after a layer

Re: [OpenLayers-Users] WMS layer redraw problem

2010-05-12 Thread Eric Lemoine
On Wed, May 12, 2010 at 1:35 PM, Walter Lorenzetti lorenze...@gis3w.it wrote: Hi all, I build a webgis editing  application with OL 2.8, all work fine, but I've a problem with redraw wms layer background: In my application I edit several layers during the editing mode... but on simple

Re: [OpenLayers-Users] WMS layer redraw problem

2010-05-12 Thread Nathan Gerber
I have found that the most reliable way to avoid browser caching when I want to force a redraw of a WMS layer is to do something like this: wms_layer.mergeNewParams({'timestamp':datetime}); If you append the current timestamp to the layer each time you want to do a redraw it will have a unique