[android] do not overwrite user-set focal point when tracking location (#10910)

This commit is contained in:
Łukasz Paczos
2018-01-12 09:59:36 +01:00
committed by Tobrun
parent 82eabf18b1
commit 06f3f8fddb

View File

@@ -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();
}