[OpenLayers-Users] Flicker while dragging map with vector in FF

Glen Stampoultzis gstamp at gmail.com
Mon Jul 9 03:08:20 EDT 2007


On 06/07/07, bradleyspencer <brad at cubewerx.com.au> wrote:
>
> Louvy,
>
> I have the same problem I think. But this has a 'flickr' in both IE and
> FF.
>
> http://www.ozdemo.org/
>
> Just change base map to Google Maps (or Hybrid) and drag away. The
> TerraPages is what I use as default and is a separate TileCached
> environment
> and no flickr.
>
> Cheers,
>
> Brad Spencer
> mailto:brad at cubewerx.com.au
> http://www.cubewerx.com.au
>
>

Hi Brad,

Hi.  Sorry for the lateness of my reply.  I only just noticed your message.

The issue was being caused for me because I was was erasing and redrawing a
vector
when any pan occurred.  This would cause black triangles to appear for me
when it was erased.  This was fixed in FF by moving the erase into the same
event as the draw.  Previously I was erasing the vector making an ajax
request then drawing a new vector.  Unfortunately this causes a weird ghost
line in Internet Explorer for a split second so I had to keep the erase
before the ajax request in Internet Explorer.  this means the line
disappears until the ajax request comes back which is unfortunate.

The flicker I was experiencing doesn't seem to be the same thing that I'm
seeing on your site.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20070709/4c742187/attachment.html


More information about the Users mailing list