[OpenLayers-Users] Redraw WMS-Layer Double Buffered?

Christopher Schmidt crschmidt at metacarta.com
Fri Oct 9 09:31:55 EDT 2009


On Fri, Oct 09, 2009 at 03:21:09PM +0200, Christian Schanz wrote:
> Hello,I want to reload a tiled WMS Layer with changing data every few
> minutes.
> At the moment I am simply using
> 
> myLayer.redraw(true);
> 
> The result of this is that the tiles of the layer disappear. Then it takes
> some time before the new tiles arrive. And then finally the new tiles show
> up.
> 
> Is there a possibility to keep the old tiles until the new ones are
> downloaded?

transitionEffect: 'resize' on your layer might do it.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list