This commit is contained in:
max-klaus 2020-03-27 22:49:35 +03:00
parent d983309242
commit 684e5ddf15

View file

@ -406,6 +406,7 @@ public class MapViewTrackingUtilities implements OsmAndLocationListener, IMapLoc
}
public void switchRotateMapMode(){
if (mapView != null) {
String rotMode = app.getString(R.string.rotate_map_none_opt);
if (settings.ROTATE_MAP.get() == OsmandSettings.ROTATE_MAP_NONE && mapView.getRotate() != 0) {
// reset manual rotation
@ -422,7 +423,6 @@ public class MapViewTrackingUtilities implements OsmAndLocationListener, IMapLoc
rotMode = app.getString(R.string.rotate_map_to_bearing) + ":\n" + rotMode;
app.showShortToastMessage(rotMode);
updateSettings();
if(mapView != null) {
mapView.refreshMap();
}
}