opt
This commit is contained in:
@@ -130,7 +130,7 @@ public class AMapNaviViewWrapper implements IMogoMapView,
|
||||
}
|
||||
mMapView.setRouteOverlayVisible( false );
|
||||
mMapView.setCarOverlayVisible( false );
|
||||
mMapView.setNaviMode( AMapNaviView.NORTH_UP_MODE );
|
||||
mMapView.setNaviMode( AMapNaviView.CAR_UP_MODE );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -378,6 +378,10 @@ public class AMapNaviViewWrapper implements IMogoMapView,
|
||||
case Type_Night:
|
||||
options.setNaviNight( true );
|
||||
break;
|
||||
case Type_AUTO_LIGHT_Night:
|
||||
options.setNaviNight( false );
|
||||
options.setAutoNaviViewNightMode( true );
|
||||
break;
|
||||
}
|
||||
mMapView.setViewOptions( options );
|
||||
}
|
||||
@@ -425,7 +429,9 @@ public class AMapNaviViewWrapper implements IMogoMapView,
|
||||
@Override
|
||||
public void displayOverview() {
|
||||
if ( checkAMapView() ) {
|
||||
mMapView.displayOverview();
|
||||
if ( NaviClient.getInstance( getContext() ).isNaviing() ) {
|
||||
mMapView.displayOverview();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user