summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorŁukasz Paczos <lukasz.paczos@mapbox.com>2018-03-16 10:41:34 +0100
committerGitHub <noreply@github.com>2018-03-16 10:41:34 +0100
commit146e615baeaf6744921f52326d2cc14df0e95e3f (patch)
treebbae6d789dd8dbb982bc33455c06d00f15928f11
parent449c68e329448196c976fade12a8c0d58a0c7af9 (diff)
downloadqtlocation-mapboxgl-146e615baeaf6744921f52326d2cc14df0e95e3f.tar.gz
[android] fixed TWO_FINGER_TAP telemetry event (#11460)
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapGestureDetector.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapGestureDetector.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapGestureDetector.java
index 865b3c97aa..849719a1a2 100644
--- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapGestureDetector.java
+++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapGestureDetector.java
@@ -796,6 +796,8 @@ final class MapGestureDetector {
transform.cancelTransitions();
cameraChangeDispatcher.onCameraMoveStarted(REASON_API_GESTURE);
+ sendTelemetryEvent(Events.TWO_FINGER_TAP, detector.getFocalPoint());
+
PointF zoomFocalPoint;
// Single finger double tap
if (focalPoint != null) {