Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't call onDrag when multiple fingers are touching the map
Calling onDrag when multiple fingers are touching the map causes a delay when you start pinch zooming. This is because the pinch is interpreted as a tap in the beginning, which causes stopPropagation to be called. I think dragging is an action you only do with one finger, so therefore I think not calling onDrag is the correct solution to this. Fixes mapbox#962
- Loading branch information