[OpenLayers-Trac] [OpenLayers] #3096: EventPane layers broken after #3062

OpenLayers trac-20090302 at openlayers.org
Thu Feb 24 03:47:21 EST 2011

#3096: EventPane layers broken after #3062
 Reporter:  ahocevar         |       Owner:  euzuro      
     Type:  bug              |      Status:  new         
 Priority:  minor            |   Milestone:  2.11 Release
Component:  Layer.EventPane  |     Version:  2.10        
 Keywords:  mobile           |       State:              
 Pixel based panning (using Map::moveByPx) does not update EventPane layer
 positions. To move them, the Layer::moveByPx method (#3095) should be

 For EventPane layers that have a dragPanObject, this is easy to fix,
 because the dragPanObject can also be moved by pixel deltas. For others,
 we need to investigate if the API provides a "move by pixel delta" method
 and use it. Those that don't have either will need to use
 Map::getCachedCenter() and call Layer::moveTo to move to the new center.

Ticket URL: <http://trac.openlayers.org/ticket/3096>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer

More information about the Trac mailing list