[OpenLayers-Trac] Re: [OpenLayers] #2247: getMousePosition off due to borders and relative/absolute positioning

OpenLayers trac-20090302 at openlayers.org
Tue Nov 2 16:05:29 EDT 2010


#2247: getMousePosition off due to borders and relative/absolute positioning
-----------------------------------------------------------------------------------------------+
 Reporter:  chrelad@…                                                                          |       Owner:  euzuro      
     Type:  bug                                                                                |      Status:  new         
 Priority:  critical                                                                           |   Milestone:  2.11 Release
Component:  Events                                                                             |     Version:  2.8         
 Keywords:  mouse position getMousePosition offset click coordinates border relative position  |       State:  Review      
-----------------------------------------------------------------------------------------------+

Comment(by tschaub):

 Nice, I wanted to make the div -> viewportDiv fix some time ago.

 While it doesn't have to be before pulling this in, please consider #2911
 first.  It's really silly how many times we check
 {{{navigator.userAgent}}}.

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


More information about the Trac mailing list