Skip to content

Commit

Permalink
Merge 958bdb7 into 00f685b
Browse files Browse the repository at this point in the history
  • Loading branch information
Pessimistress committed Aug 5, 2019
2 parents 00f685b + 958bdb7 commit 9e663c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utils/map-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const ZOOM_ACCEL = 0.01;
const EVENT_TYPES = {
WHEEL: ['wheel'],
PAN: ['panstart', 'panmove', 'panend'],
PINCH: ['pinchstart', 'pinchmove', 'pinchend'],
PINCH: ['pinchstart', 'pinchmove', 'pinchend', 'pinchcancel'],
DOUBLE_TAP: ['doubletap'],
KEYBOARD: ['keydown']
};
Expand Down Expand Up @@ -97,6 +97,7 @@ export default class MapController {
return this._onPinchStart(event);
case 'pinchmove':
return this._onPinch(event);
case 'pinchcancel':
case 'pinchend':
return this._onPinchEnd(event);
case 'doubletap':
Expand Down

0 comments on commit 9e663c4

Please sign in to comment.