This commit is contained in:
wangcongtao
2020-01-10 15:32:35 +08:00
parent 22e5be8e15
commit b5dfac1c2d
10 changed files with 120 additions and 23 deletions

View File

@@ -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();
}
}
}