[OpenLayers-Trac] [OpenLayers] #3137: zoom out by single tap with two fingers not working

OpenLayers trac-20090302 at openlayers.org
Mon Feb 28 05:10:25 EST 2011


#3137: zoom out by single tap with two fingers not working
---------------------+------------------------------------------------------
 Reporter:  bbinet   |       Owner:              
     Type:  bug      |      Status:  new         
 Priority:  minor    |   Milestone:  2.11 Release
Component:  general  |     Version:  2.10        
 Keywords:  mobile   |       State:              
---------------------+------------------------------------------------------
 Currently, the pinch zoom control is activated after the click handler, so
 it takes precedence over the click handler. Multitouch events are then
 stopped by the pinch handler which will try to apply pinch zooming.

 One solution could be to change order of activation of both controls and
 create some logic in the click handler to detect if all touches remain at
 the same location (given a tolerance). So we could detect if this is a
 single tap with two fingers or if this is a pinch gesture to be propagated
 to the pinch zoom control.

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


More information about the Trac mailing list