Changeset 6169
- Timestamp:
- 02/09/08 12:35:33 (6 months ago)
- Files:
-
- trunk/openlayers/lib/OpenLayers/Layer/Vector.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/lib/OpenLayers/Layer/Vector.js
r6149 r6169 262 262 moveTo: function(bounds, zoomChanged, dragging) { 263 263 OpenLayers.Layer.prototype.moveTo.apply(this, arguments); 264 264 265 265 if (!dragging) { 266 this.div.style.left = - parseInt(this.map.layerContainerDiv.style.left) + "px"; 267 this.div.style.top = - parseInt(this.map.layerContainerDiv.style.top) + "px"; 266 this.renderer.root.style.visibility = "hidden"; 267 268 this.div.style.left = -parseInt(this.map.layerContainerDiv.style.left) + "px"; 269 this.div.style.top = -parseInt(this.map.layerContainerDiv.style.top) + "px"; 268 270 var extent = this.map.getExtent(); 269 271 this.renderer.setExtent(extent); 270 } 271 272 273 this.renderer.root.style.visibility = "visible"; 274 } 275 272 276 if (!this.drawn || zoomChanged) { 273 277 this.drawn = true;
