[OpenLayers-Trac] Re: [OpenLayers] #3649: Vector layers sometimes offset after map resize and map drag

OpenLayers trac-20090302 at openlayers.org
Sun Apr 22 12:21:45 EDT 2012


#3649: Vector layers sometimes offset after map resize and map drag
---------------------+------------------------------------------------------
 Reporter:  apexer   |       Owner:      
     Type:  bug      |      Status:  new 
 Priority:  major    |   Milestone:      
Component:  general  |     Version:  2.11
 Keywords:           |       State:      
---------------------+------------------------------------------------------

Comment(by apexer):

 I've been experimenting with this and trying to find work arounds.
 map.updateSize() is being called but this doesn't seem to help the
 behaviour.

 I've tried to remove and add the vector layer again, call redraw on it,
 recentering the map after a resize, etc.. None of this affects the
 behaviour once it's snapped out of place.
 As a side note, I have one layer with the old markers, and this never gets
 offset.

 In firefox there is no problem.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/3649#comment:2>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list