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

Christian Schanz christian.schanz at gmail.com
Fri Oct 9 09:58:49 EDT 2009


Hello Christopher,

I have tried that already but unfortunately it does not seem to help. It
does work when zooming in or out but has no effect while refreshing the
layer.
Regards,
  Christian


2009/10/9 Christopher Schmidt <crschmidt at metacarta.com>

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20091009/808b22e8/attachment.html


More information about the Users mailing list