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

Craig McIlwee craig.mcilwee at openroadsconsulting.com
Tue Jul 21 16:04:03 EDT 2009


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.  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 this 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?
 
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.
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20090721/bdd03cb7/attachment.html


More information about the Users mailing list