From 373bbf09d4fe9b7e1661e0422d04a22659c513ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Paczos?= Date: Thu, 11 Jan 2018 16:32:07 +0100 Subject: [android] do not overwrite user-set focal point when tracking location --- .../main/java/com/mapbox/mapboxsdk/maps/widgets/MyLocationView.java | 3 --- 1 file changed, 3 deletions(-) (limited to 'platform/android/MapboxGLAndroidSDK/src/main/java') diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/widgets/MyLocationView.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/widgets/MyLocationView.java index 3fe3c7b40d..4f27e0ada8 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/widgets/MyLocationView.java +++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/widgets/MyLocationView.java @@ -372,9 +372,6 @@ public class MyLocationView extends View { */ public void setTilt(@FloatRange(from = 0, to = 60.0f) double tilt) { this.tilt = tilt; - if (myLocationTrackingMode == MyLocationTracking.TRACKING_FOLLOW) { - mapboxMap.getUiSettings().setFocalPoint(getCenter()); - } invalidate(); } -- cgit v1.2.1