[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 GitHub
parent 2b037065e3
commit b2aa8d6ca5

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