Fix back to my location
This commit is contained in:
parent
28d619aed2
commit
1c362b7112
1 changed files with 2 additions and 2 deletions
|
@ -337,7 +337,7 @@ public class MapViewTrackingUtilities implements OsmAndLocationListener, IMapLoc
|
||||||
}
|
}
|
||||||
|
|
||||||
public void backToLocationImpl() {
|
public void backToLocationImpl() {
|
||||||
backToLocationImpl(15, false);
|
backToLocationImpl(15, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void backToLocationImpl(int zoom, boolean forceZoom) {
|
public void backToLocationImpl(int zoom, boolean forceZoom) {
|
||||||
|
@ -372,7 +372,7 @@ public class MapViewTrackingUtilities implements OsmAndLocationListener, IMapLoc
|
||||||
public void run() {
|
public void run() {
|
||||||
if (mapView != null && !isMapLinkedToLocation() && contextMenu == null) {
|
if (mapView != null && !isMapLinkedToLocation() && contextMenu == null) {
|
||||||
app.showToastMessage(R.string.auto_follow_location_enabled);
|
app.showToastMessage(R.string.auto_follow_location_enabled);
|
||||||
backToLocationImpl();
|
backToLocationImpl(15, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, delay * 1000);
|
}, delay * 1000);
|
||||||
|
|
Loading…
Reference in a new issue