[OpenLayers-Trac] Re: [OpenLayers] #3215: Cleanup mouse event on touch devices

OpenLayers trac-20090302 at openlayers.org
Wed Mar 30 12:01:16 EDT 2011


#3215: Cleanup mouse event on touch devices
----------------------------+-----------------------------------------------
  Reporter:  sbrunner       |       Owner:  tschaub      
      Type:  feature        |      Status:  closed       
  Priority:  minor          |   Milestone:  2.11 Release 
 Component:  Handler.Point  |     Version:  2.10         
Resolution:  invalid        |    Keywords:  patch, mobile
     State:                 |  
----------------------------+-----------------------------------------------
Changes (by erilem):

  * status:  new => closed
  * resolution:  => invalid


Comment:

 After discussing with Stéphane it turns out that our patches are
 incorrect. Unregistering listeners in {{{touchstart}}} and setting a flag
 to avoid unregistering them again is not a good solution, because our
 listeners will get registered again if the control is deactivated and re-
 activated, and the handler won't unregister them again (the {{{touch}}}
 flag is set).

 The bad news is that the Click and Drag handlers suffer the same.

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


More information about the Trac mailing list