diff options
author | Tobrun Van Nuland <tobrun.van.nuland@gmail.com> | 2017-08-16 10:31:21 +0200 |
---|---|---|
committer | Tobrun <tobrun@mapbox.com> | 2017-08-19 11:29:38 +0200 |
commit | f356ff4b0047179d42e25d46578fc464e341ee5d (patch) | |
tree | 173f0996468f7bea8a10c0e60fdaee5e787c6203 | |
parent | a83c19e9543ae3a84bfe41db9a03a9f4f4957064 (diff) | |
download | qtlocation-mapboxgl-f356ff4b0047179d42e25d46578fc464e341ee5d.tar.gz |
[android] - enable location change animation of MyLocationView by default
-rw-r--r-- | platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/widgets/MyLocationView.java | 2 |
1 files changed, 1 insertions, 1 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 61b0efe656..f74286705c 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 @@ -75,7 +75,7 @@ public class MyLocationView extends View { private ValueAnimator locationChangeAnimator; private ValueAnimator accuracyAnimator; private ValueAnimator directionAnimator; - private boolean locationChangeAnimationEnabled; + private boolean locationChangeAnimationEnabled = true; private ValueAnimator.AnimatorUpdateListener invalidateSelfOnUpdateListener = new ValueAnimator.AnimatorUpdateListener() { |