[OpenLayers-Users] layer.mergeNewParams flicker
Bart van den Eijnden (OSGIS)
bartvde at osgis.nl
Fri Sep 21 10:17:09 EDT 2007
Hi Chris,
when I do that I get problems:
bottomLeftTile has no properties
file:///D:/sources/OpenLayers-2.5-rc2/lib/OpenLayers/Layer/Grid.js
Line 250
Followed by:
tile has no properties
file:///D:/sources/OpenLayers-2.5-rc2/lib/OpenLayers/Layer/Grid.js
Line 523
Example file to reproduce attached.
Thanks in advance.
Best regards,
Bart
--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl
--------- Oorspronkelijk bericht --------
Van: Christopher Schmidt <crschmidt at metacarta.com>
Naar: Bart van den Eijnden OSGIS <bartvde at osgis.nl>
Cc: users at openlayers.org
Onderwerp: Re: [OpenLayers-Users] layer.mergeNewParams flicker
Datum: 21/09/07 12:03
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20070921/87e98332/wms-untiled.html
More information about the Users
mailing list