diff options
author | Brad Leege <bleege@gmail.com> | 2015-12-03 15:42:48 -0600 |
---|---|---|
committer | Brad Leege <bleege@gmail.com> | 2015-12-03 17:02:29 -0600 |
commit | b58e775374a988d6df2a1baee1df6170113d0875 (patch) | |
tree | 9973cae9b7a47fbab54d265ccf7a19a9c9dbfd9e /android | |
parent | 022d27864daff9217c3130115e648fa3434edb7d (diff) | |
download | qtlocation-mapboxgl-b58e775374a988d6df2a1baee1df6170113d0875.tar.gz |
[android] #2805 - Using MINIMUM_TILT and MAXIMUM_TILT constants for annotation
Diffstat (limited to 'android')
-rw-r--r-- | android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/views/MapView.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/views/MapView.java b/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/views/MapView.java index 5fc6c1196d..22c402d874 100644 --- a/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/views/MapView.java +++ b/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/views/MapView.java @@ -51,7 +51,6 @@ import android.widget.ArrayAdapter; import android.widget.FrameLayout; import android.widget.ImageView; import android.widget.ZoomButtonsController; - import com.almeros.android.multitouch.gesturedetectors.RotateGestureDetector; import com.almeros.android.multitouch.gesturedetectors.ShoveGestureDetector; import com.almeros.android.multitouch.gesturedetectors.TwoFingerGestureDetector; @@ -1134,7 +1133,7 @@ public final class MapView extends FrameLayout { * @param pitch New tilt in degrees * @param duration Animation time in milliseconds. If null then 0 is used, making the animation immediate. */ - @FloatRange(from = 0.0, to = 60.0) + @FloatRange(from = MINIMUM_TILT, to = MAXIMUM_TILT) public void setTilt(Double pitch, @Nullable Long duration) { long actualDuration = 0; if (duration != null) { |