In 2.5 we have added layer.redraw(), which does the same without the extra parameter.
http://dev.openlayers.org/apidocs/files/OpenLayers/Layer-js.html#OpenLayers.Layer.redraw If getting cached tiles is a problem, then you *do* want to follow the suggestion in the pipermail thread sent by bart, but otherwise, you should be able to just call redraw(). Erik On 9/18/07, Bart van den Eijnden (OSGIS) <[EMAIL PROTECTED]> wrote: > See: > > http://openlayers.org/pipermail/users/2007-March/000893.html > > Best regards, > Bart > > -- > Bart van den Eijnden > OSGIS, Open Source GIS > http://www.osgis.nl > > > --------- Oorspronkelijk bericht -------- > Van: Prasad Choudhary <[EMAIL PROTECTED]> > Naar: [email protected] <[email protected]> > Onderwerp: [OpenLayers-Users] OL.Layer.WMS can be refresh ??? > Datum: 18/09/07 06:39 > > > > > Hello List, > > > > I just want to refresh OpenLayers.Layers.WMS layers of my application > > without touching map or base layer > > is there any solution for this? > > > > Thanks > > Prasad > > > > > > -- > > View this message in context: > http://www.nabble.com/OL.Layer.WMS-can-be-refresh-----tf4472624.html#a12752533 > > Sent from the OpenLayers Users mailing list archive at Nabble.com. > > > > _______________________________________________ > > Users mailing list > > [email protected] > > http://openlayers.org/mailman/listinfo/users > > > > > > > > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
