diff options
author | Łukasz Paczos <lukasz.paczos@mapbox.com> | 2018-01-12 09:59:36 +0100 |
---|---|---|
committer | Tobrun <tobrun@mapbox.com> | 2018-01-23 12:09:48 +0100 |
commit | 06f3f8fddb574dec0b498dfa696a7b639596e9c2 (patch) | |
tree | 0f835d6078eb5e9f3dbdd506af57495c5e50c338 /platform/android | |
parent | 82eabf18b1a30852da56509db5689117fe5ac373 (diff) | |
download | qtlocation-mapboxgl-06f3f8fddb574dec0b498dfa696a7b639596e9c2.tar.gz |
[android] do not overwrite user-set focal point when tracking location (#10910)
Diffstat (limited to 'platform/android')
-rw-r--r-- | platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/widgets/MyLocationView.java | 3 |
1 files changed, 0 insertions, 3 deletions
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(); } |