On Fri, Sep 28, 2007 at 02:40:08PM +0200, Andrea Cappugi wrote:
> Hi,
> I'm using OL 2.5 from svn.
> If I use layer.redraw() on a WMS layer, it seems to work and the
> returns true. But tiles don't change and they should.
> Is this a possible bug?
Unlikely. Browsers cache requests unless the server explicitly tells
them not to. The redraw() is largely useful for internal purposes where
you have changed things interally, but need the layer to update.
You probably want something like:
layer.merveNewParams({'random':Math.random()})
Regards,
--
Christopher Schmidt
MetaCarta
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users