[OpenLayers-Users] redrawing a layer?

Roald de Wit rdewit at users.sourceforge.net
Tue Jan 22 18:46:34 EST 2008


Hi, 

On Tue, 2008-01-22 at 13:22 -0700, Gregor Mosheh wrote:
> Bart van den Eijnden (OSGIS) wrote:
> > Some copy and paste problems:
> > this.layer.mergeNewParams({rand: Math.random()});
> 
> Aww, that's simple and elegant!

Simple: yes, elegant: no. It would be nicer if any layer could be
reloaded with something like layer.reload() or layer.refresh().

If there is more support for a more elegant way of refreshing,  I'm more
than happy to create a ticket to request for a feature like this.

Greetings, Roald

-- 
Roald de Wit
Software Engineer
roald.dewit at lisasoft.com

Commercial Support for Open Source GIS Software
http://lisasoft.com/LISAsoft/SupportedProducts/




More information about the Users mailing list