This commit is contained in:
wangcongtao
2021-02-01 16:30:39 +08:00
parent 2ea8e34a8d
commit e405bf4f0c
8 changed files with 11 additions and 19 deletions

View File

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

View File

@@ -122,6 +122,7 @@ public class AMapViewWrapper implements IMogoMapView,
}
MapAutoViewHelper options = mMapView.getMapAutoViewHelper();
if ( options != null ) {
options.setZoomGesturesEnabled( true );
// 设置是否开启自动黑夜模式切换默认为false不自动切换
// options.setAutoSwitchStyle(false);
// 设置6秒后是否自动锁车

View File

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