Fix rotation on MapActivity resume
This commit is contained in:
parent
65ee7a2b82
commit
2a75df5ffb
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ public class MapViewTrackingUtilities implements OsmAndLocationListener, IMapLoc
|
|||
|
||||
public void updateSettings(){
|
||||
if (mapView != null) {
|
||||
if (settings.ROTATE_MAP.get() != OsmandSettings.ROTATE_MAP_COMPASS || routePlanningMode) {
|
||||
if (settings.ROTATE_MAP.get() == OsmandSettings.ROTATE_MAP_NONE || routePlanningMode) {
|
||||
mapView.setRotate(0);
|
||||
}
|
||||
mapView.setMapPosition(settings.ROTATE_MAP.get() == OsmandSettings.ROTATE_MAP_BEARING
|
||||
|
|
Loading…
Reference in a new issue