[OpenLayers-Users] layer.mergeNewParams flicker
Christopher Schmidt
crschmidt at metacarta.com
Fri Sep 21 10:03:36 EDT 2007
On Fri, Sep 21, 2007 at 03:42:26PM +0200, Bart van den Eijnden (OSGIS) wrote:
> Hi list,
>
> when I use layer.mergeNewParams to add a random parameter (I really want to
> make sure things don't come from the browser cache), the image flickers
> unfortunately.
>
> In Mapbuilder's TimeSeriesOL I seem something like:
>
> /* Here we have to null out the existing tile (in the case of Untiled WMS
> layers) so that it is not first cleared out before rendering the new
> request. */
> objRef.oLlayers[layerName].tile = null;
> objRef.oLlayers[layerName].mergeNewParams({"TIME":timestamp.firstChild.nodeValue});
>
> But this won't work with the new singleTile option in 2.5 AFAIK.
foo.tile -> foo.grid[0][0]
Regards,
--
Christopher Schmidt
MetaCarta
More information about the Users
mailing list