[android] do not overwrite user-set focal point when tracking location (#10910)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user