[OpenLayers-Users] OL 2.12 and Image layer flicker
Pierre Giraud
pierre.giraud at camptocamp.com
Mon Jul 2 00:38:48 PDT 2012
FYI, I opened an issue for this.
https://github.com/openlayers/openlayers/issues/560
On Fri, Jun 29, 2012 at 4:28 PM, teknocreator <teknocreator at gmail.com> wrote:
> Good day list!
>
> Our application has an Image layer which is fed different png images via the
> setUrl function. However, when the new image was loaded into the layer,
> there was a flicker due to the previous image being hidden before the next
> image was loaded. So, there was a work around when this topic was
> previously discussed to just comment out that part in Tile/Image.js which
> hid the previous image (it was in the clear function). This has worked
> fairly well for our app and there's a smooth transition when images are
> loaded with no flicker, especially in Firefox.
>
> However, as the Tile/Image.js code has been radically changed with OL 2.12,
> this issue is back. I can see going through the debugger what's happening,
> but my attempts to comment out sections of the code causing this have not
> worked.
>
> I saw where there are tile transitions using CSS but the Release notes
> indicate that it's turned off for single tile by default. Not sure if that
> can be applied to an Image layer or not.
>
> Suggestions for a work around?
>
> Thanks
>
> Dave Miller
>
> --
> View this message in context: http://osgeo-org.1560.n6.nabble.com/OL-2-12-and-Image-layer-flicker-tp4984910.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
--
Pierre GIRAUD
Géomaticien, Analyste
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex
Tel : 00 33 4 79 44 44 93
Mail : pierre.giraud at camptocamp.com
http://www.camptocamp.com
More information about the Users
mailing list