[OpenLayers-Trac] Re: [OpenLayers] #2247: getMousePosition off due
to borders and relative/absolute positioning
OpenLayers
trac-20090302 at openlayers.org
Mon Nov 8 06:16:53 EST 2010
#2247: getMousePosition off due to borders and relative/absolute positioning
--------------------------------+-------------------------------------------
Reporter: chrelad@… | Owner: euzuro
Type: bug | Status: reopened
Priority: critical | Milestone: 2.11 Release
Component: Events | Version: 2.8
Resolution: | Keywords: mouse position getMousePosition offset click coordinates border relative position
State: Review |
--------------------------------+-------------------------------------------
Comment(by ahocevar):
pagePosition has returned [0,0] when called with something different than
a DOMElement. Now it returns undefined. The above patch removes an
unneeded line with an incorrect argument from
OpenLayers.Control.PanZoomBar.
--
Ticket URL: <http://trac.openlayers.org/ticket/2247#comment:19>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list