[OpenLayers-Trac] Re: [OpenLayers] #3105: create a pinch zoom control

OpenLayers trac-20090302 at openlayers.org
Fri Feb 25 19:18:38 EST 2011


#3105: create a pinch zoom control
--------------------------------+-------------------------------------------
 Reporter:  tschaub             |       Owner:              
     Type:  feature             |      Status:  new         
 Priority:  minor               |   Milestone:  2.11 Release
Component:  Control.Navigation  |     Version:  2.10        
 Keywords:  mobile              |       State:  Review      
--------------------------------+-------------------------------------------

Comment(by tschaub):

 Patch summary:

  * PinchZoom.html - tests make assertions about control behavior and css
 transform property
  * Events.js - Previously, in the case of touch enabled devices, we set
 {{{evt.clientX}}} and {{{evt.clientY}}} to the same properties on the
 first touch.  Now we set these properties to the average of the properties
 on all touches.
  * PinchZoom.js - does the magic zoom
  * TouchNavigation.js - uses pinch zoom

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


More information about the Trac mailing list