[OpenLayers-Users] Shifting markers and vectors in IE6 after pan

Craig McIlwee craig.mcilwee at openroadsconsulting.com
Tue Aug 18 12:21:33 EDT 2009


No suggestions?  Looks like someone else posted a similar problem a couple of days later that also went unanswered: http://openlayers.org/pipermail/users/2009-July/012880.html

craig

-----Original Message-----
From: users-bounces at openlayers.org [mailto:users-bounces at openlayers.org] On Behalf Of Craig McIlwee
Sent: Wednesday, July 22, 2009 11:58 AM
To: users at openlayers.org
Subject: Re: [OpenLayers-Users] Shifting markers and vectors in IE6 after pan

Interesting... I read this email on my home computer this morning and tried it there, everything worked OK.  I was using my work computer yesterday when I sent the first mail, IE version is 6.0.2900.2180.xpsp_sp2_qfe.080814-1242, at home I have 6.0.2900.2180.xpsp_sp2_qf2.070227-2300.  What version are you using?

This pages on the OpenLayers site I was testing against were vector-features.html and marker-shadow.html.  I just tried the markers.html you mentioned and it works fine.

Craig

-----Original Message-----
From: andreas.hocevar at gmail.com [mailto:andreas.hocevar at gmail.com] On Behalf Of Andreas Hocevar
Sent: Wednesday, July 22, 2009 4:20 AM
To: craig.mcilwee at openroadsconsulting.com
Cc: users at openlayers.org
Subject: Re: [OpenLayers-Users] Shifting markers and vectors in IE6 after pan

Hi,

the current version of OpenLayers is 2.8. But you are saying that you
see the same behaviour on the OpenLayers examples site? I just tested
on IE6, and I do not see it (neither in the vector-features.html nof
in the markers.html example).

Can you provide an example where this happens?

Regards,
Andreas.

On Tue, Jul 21, 2009 at 10:04 PM, Craig
McIlwee<craig.mcilwee at openroadsconsulting.com> wrote:
> Hello,
>
>
>
> I've recently updated one of our applications to OpenLayers 2.7.  Previously
> we were using an OpenLayer.js file with revision 2106, which appears to have
> been somewhere between 2.3 rc2 and rc3.  Now when I plot vector features on
> a vector layer I am seeing strange behavior in IE6 that did not happen
> before.  When I pan the map the vectors follow, but as soon as I release the
> mouse they do a small jump in the direction that I panned.  So for example,
> I drag the map so that I can see further East and as soon as I release my
> mouse button the vector images jump a few pixels to the East instead of
> staying at the correct location.  This also happens when using the
> navigation arrows that are at the top left of the map.  I've tested this on
> the OpenLayers example site (www.openlayers.org/dev/examples) and I am
> seeing the same behavior with vectors and markers.  This only affects IE6
> though, FF2, FF3, and IE7 seem fine.
>
>
>
> So I'm curious if there is a workaround for this, other than removing all of
> the vectors and replotting them if I detect a drag event.  Is there some
> function that I can call that will fix vector positions?  I've tried
> attaching to the 'moveend' events on both map and layer to call
> layer.refresh() and layer.redraw() but this doesn't seem to help, and I'm
> not sure but maybe these are already called on a move anyway.  Any other
> suggestions?
>
>
>
> Thanks,
>
> Craig McIlwee
>
> Open Roads Consulting, Inc.
>
> 757-546-3401
>
> http://www.openroadsconsulting.com
>
>
>
> This e-mail communication (including any attachments) may contain
> confidential and/or privileged material intended solely for the individual
> or entity to which it is addressed.  If you are not the intended recipient,
> you should immediately stop reading this message and delete it from all
> computers that it resides on. Any unauthorized reading, distribution,
> copying or other use of this communication (or its attachments) is strictly
> prohibited.  If you have received this communication in error, please notify
> us immediately.
>
>
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
>



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.


_______________________________________________
Users mailing list
Users at openlayers.org
http://openlayers.org/mailman/listinfo/users





More information about the Users mailing list