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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -107,6 +107,11 @@ public interface IMogoMarker {
|
||||
*/
|
||||
void setPosition( double lat, double lng );
|
||||
|
||||
/**
|
||||
* 获取坐标点
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
MogoLatLng getPosition();
|
||||
|
||||
/**
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user