test
This commit is contained in:
@@ -22,7 +22,6 @@ public class AMapUiSettingsWrapper implements IMogoUiSettings {
|
||||
@Override
|
||||
public void setScaleControlsEnabled( boolean enabled ) {
|
||||
if ( mUiSettings != null ) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -93,7 +92,6 @@ public class AMapUiSettingsWrapper implements IMogoUiSettings {
|
||||
@Override
|
||||
public void setIndoorSwitchEnabled( boolean enabled ) {
|
||||
if ( mUiSettings != null ) {
|
||||
|
||||
// mUiSettings.setIndoorSwitchEnabled( enabled );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -122,6 +122,7 @@ public class AMapViewWrapper implements IMogoMapView,
|
||||
}
|
||||
MapAutoViewHelper options = mMapView.getMapAutoViewHelper();
|
||||
if ( options != null ) {
|
||||
options.setZoomGesturesEnabled( true );
|
||||
// 设置是否开启自动黑夜模式切换,默认为false,不自动切换
|
||||
// options.setAutoSwitchStyle(false);
|
||||
// 设置6秒后是否自动锁车
|
||||
|
||||
@@ -96,7 +96,7 @@ class CustomMapApiBuilder implements IMogoMapApiBuilder {
|
||||
.setDebugMode( DebugConfig.isDebug() )
|
||||
.setCoordinateType( MapParams.COORDINATETYPE_GCJ02 )
|
||||
.setPerspectiveMode( MapParams.MAP_PERSPECTIVE_2D )
|
||||
.setZoom( 16 )
|
||||
.setZoom( 20 )
|
||||
.setPointToCenter( 0.734375f, 0.5f )
|
||||
.setStyleMode( MapParams.MAP_STYLE_NIGHT ), NavParams.Companion.init() );
|
||||
MapAutoView mapAutoView = new MapAutoView(context);
|
||||
|
||||
Reference in New Issue
Block a user