Pinch to zoom using Hammer.js
For hammer.js 2.0+ I have taken @DGS answer and changed it to suit what I was doing with cordova and intel-xdk so it’s pure JS and hammer.js 2.0 for webkit. My implementation allows you to zoom and drag at the same time, not independent of each other as above, and provides for a more native … Read more