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

View File

@@ -107,6 +107,11 @@ public interface IMogoMarker {
*/
void setPosition( double lat, double lng );
/**
* 获取坐标点
*
* @return
*/
MogoLatLng getPosition();
/**

View File

@@ -25,12 +25,17 @@ public enum EnumMapUI {
/**
* 白天模式
*/
Type_Light( 3, 4 ),
Type_Light( 3, 5 ),
/**
* 夜晚模式
*/
Type_Night( 4, 3 );
Type_Night( 4, 4 ),
/**
* 夜晚模式
*/
Type_AUTO_LIGHT_Night( 5, 3 );
private int next;
private int code;