Fix back to my location

This commit is contained in:
crimean 2019-05-11 10:22:04 +03:00
parent 28d619aed2
commit 1c362b7112

View file

@ -337,7 +337,7 @@ public class MapViewTrackingUtilities implements OsmAndLocationListener, IMapLoc
}
public void backToLocationImpl() {
backToLocationImpl(15, false);
backToLocationImpl(15, true);
}
public void backToLocationImpl(int zoom, boolean forceZoom) {
@ -372,7 +372,7 @@ public class MapViewTrackingUtilities implements OsmAndLocationListener, IMapLoc
public void run() {
if (mapView != null && !isMapLinkedToLocation() && contextMenu == null) {
app.showToastMessage(R.string.auto_follow_location_enabled);
backToLocationImpl();
backToLocationImpl(15, false);
}
}
}, delay * 1000);