[OpenLayers-Users] How to refresh a layer being displayed?

Samuel Gilbert samuel.gilbert at ec.gc.ca
Fri May 17 08:06:41 PDT 2013


Hello,

  I am displaying a few layers containing some data that change over time (ie. 
Weather Radar).  Is there a way to ask OpenLayers to fetch the up-to-date 
tiles from the server?  The same GetMap request will respond different tiles 
at different points in time.

  So far, the only solution I found is to delete the layer and create a new 
one with the exact same properties.  This isn't very nice; is there a better 
way to do this?

Samuel


More information about the Users mailing list