升级自研地图sdk版本

This commit is contained in:
wangcongtao
2020-12-23 10:23:41 +08:00
parent f0453258ea
commit bf05411d3d
3 changed files with 3 additions and 2 deletions

View File

@@ -67,7 +67,7 @@ dependencies {
implementation project(':foudations:mogo-commons')
}
implementation 'com.zhidaoauto.machine:map:1.0.0-vr-7.4.3'
implementation 'com.zhidaoauto.machine:map:1.0.0-vr-7.4.4'
}
apply from: new File(rootProject.rootDir, "gradle/upload.gradle").toString()

View File

@@ -784,6 +784,7 @@ public class AMapViewWrapper implements IMogoMapView,
if ( mCurrentUI != null ) {
UiThreadHandler.post( () -> {
try {
Logger.d( TAG, "currentUI = %s", mCurrentUI );
MogoMapListenerHandler.getInstance().onMapModeChanged( mCurrentUI );
} catch ( Exception e ) {
e.printStackTrace();

View File

@@ -95,7 +95,7 @@ class CustomMapApiBuilder implements IMogoMapApiBuilder {
.setDebugMode( true )
.setCoordinateType( MapParams.COORDINATETYPE_GCJ02 )
.setPerspectiveMode( MapParams.MAP_PERSPECTIVE_2D )
//.setStyleDir( "sdcard/shmdata_asset/mogo_style" )
.setStyleDir( "sdcard/shmdata_asset/mogo_style" )
.setCachePath( "sdcard/tiles" )
.setZoom( 16 )
.setPointToCenter( 0.734375f, 0.5f )