[OpenLayers-Users] OL.Layer.WMS can be refresh ???

Erik Uzureau erik.uzureau at metacarta.com
Tue Sep 18 11:21:05 EDT 2007


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) <bartvde at osgis.nl> 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 <prasad.choudhary at gmail.com>
> Naar: users at openlayers.org <users at openlayers.org>
> 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
> > Users at openlayers.org
> > http://openlayers.org/mailman/listinfo/users
> >
> >
>
>
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>



More information about the Users mailing list