[OpenLayers-Trac] Re: [OpenLayers] #2978: Vector.moveTo CSS usage
BUG
OpenLayers
trac-20090302 at openlayers.org
Wed Feb 16 06:04:06 EST 2011
#2978: Vector.moveTo CSS usage BUG
---------------------------+------------------------------------------------
Reporter: grigoryevigor | Owner:
Type: bug | Status: new
Priority: minor | Milestone: 2.11 Release
Component: general | Version: 2.10
Keywords: | State: Awaiting User Feedback
---------------------------+------------------------------------------------
Changes (by fredj):
* state: => Awaiting User Feedback
Comment:
grigoryevigor, can you test the patch bellow and check if it works for you
?
{{{
Index: lib/OpenLayers/Layer/Vector.js
===================================================================
--- lib/OpenLayers/Layer/Vector.js (revision 11124)
+++ lib/OpenLayers/Layer/Vector.js (working copy)
@@ -475,6 +475,7 @@
var coordSysUnchanged = true;
if (!dragging) {
+ var visibility = this.renderer.root.style.visibility;
this.renderer.root.style.visibility = "hidden";
this.div.style.left =
-parseInt(this.map.layerContainerDiv.style.left) + "px";
@@ -482,7 +483,7 @@
var extent = this.map.getExtent();
coordSysUnchanged = this.renderer.setExtent(extent,
zoomChanged);
- this.renderer.root.style.visibility = "visible";
+ this.renderer.root.style.visibility = visibility;
// Force a reflow on gecko based browsers to prevent
jump/flicker.
// This seems to happen on only certain configurations; it
was originally
}}}
--
Ticket URL: <http://trac.openlayers.org/ticket/2978#comment:1>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list