[OpenLayers-Trac] Re: [OpenLayers] #2941: OpenLayers.Control.Navigation with documentDrag enabled removes all document events.

OpenLayers trac-20090302 at openlayers.org
Wed Dec 8 03:07:31 EST 2010


#2941: OpenLayers.Control.Navigation with documentDrag enabled removes all
document events.
---------------------------+------------------------------------------------
  Reporter:  mgleahy       |       Owner:              
      Type:  bug           |      Status:  closed      
  Priority:  minor         |   Milestone:  2.11 Release
 Component:  Handler.Drag  |     Version:  2.10        
Resolution:  fixed         |    Keywords:              
     State:  Complete      |  
---------------------------+------------------------------------------------

Comment(by erilem):

 Andreas, my patch changed

 {{{
 if (this.started && OpenLayers.Util.mouseLeft(evt, this.map.div)) {
 }}}

 to

 {{{
 if (this.started && OpenLayers.Util.mouseLeft(evt, this.map.viewPortDiv))
 {
 }}}

 in the {{{mouseout}}} function.

 You know this part better than I do, what do you think?

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


More information about the Trac mailing list