[OpenLayers-Users] Reload Layer

Gérald Quintana gerald.quintana at gmail.com
Tue Feb 26 11:39:44 EST 2008


Perfect!
Thank you so much, Open Layers is really nice!
Gerald

2008/2/26, Christopher Schmidt <crschmidt at metacarta.com>:
> On Tue, Feb 26, 2008 at 05:22:47PM +0100, Gérald Quintana wrote:
>  > Dear Open Layers users,
>  >
>  > I would like to reload (=request+repaint) a layer (to do some kind of
>  > animation). I tried Layer.redraw(), but it doesn't work as I expected.
>  > What should I do?
>  >
>  > I am using OpenLayers+GeoServer, will I have problems with server or
>  > browser cache?
>
>
> 2.5: layer.mergeNewParams({'random':Math.random()});
>  trunk: layer.redraw(true);
>
>  Regards,
>
> --
>  Christopher Schmidt
>  MetaCarta
>  _______________________________________________
>  Users mailing list
>  Users at openlayers.org
>  http://openlayers.org/mailman/listinfo/users
>



More information about the Users mailing list