Merge remote-tracking branch 'origin/feature/v1.0.0' into feature/v1.0.0

This commit is contained in:
董宏宇
2020-02-20 15:22:04 +08:00
6 changed files with 7 additions and 4 deletions

View File

@@ -45,7 +45,7 @@ android {
minifyEnabled false
signingConfig signingConfigs.release
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
buildConfigField 'int', 'NET_ENV', '3'
buildConfigField 'int', 'NET_ENV', '2'
}
}
compileOptions {

View File

@@ -429,6 +429,7 @@ public class AMapNaviViewWrapper implements IMogoMapView,
style.anchor(0.5F,0.5F);
style.strokeColor(Color.TRANSPARENT);
style.strokeWidth(0);
style.radiusFillColor( Color.TRANSPARENT );
style.myLocationIcon(
BitmapDescriptorFactory.fromResource(R.drawable.map_api_ic_current_location));
mMapView.getMap().setMyLocationStyle(style);
@@ -466,7 +467,6 @@ public class AMapNaviViewWrapper implements IMogoMapView,
if (checkAMapView()) {
mMapView.setCarOverlayVisible(true);
showMyLocation( false );
NaviClient.getInstance(getContext()).stopAimlessMode();
}
}

View File

@@ -142,7 +142,9 @@ public class NaviClient implements IMogoNavi {
}
// 关闭巡航
//mAMapNavi.stopAimlessMode();
stopAimlessMode();
mIsRealNavi = isRealNavi;
boolean result = mAMapNavi.startNavi( isRealNavi ? NaviType.GPS : NaviType.EMULATOR );
Logger.d( TAG, "start navi status: %s", result );
}

View File

@@ -136,7 +136,8 @@ public class EntranceFragment extends MvpFragment< EntranceView, EntrancePresent
if ( location != null ) {
mMogoStatusManager.setUserInteractionStatus( TAG, true, false );
mMApUIController.changeZoom( 16.0f );
mMApUIController.moveToCenter( new MogoLatLng( location.getLatitude(), location.getLongitude() ) );
mMApUIController.recoverLockMode();
// mMApUIController.moveToCenter( new MogoLatLng( location.getLatitude(), location.getLongitude() ) );
}
} );

View File

@@ -42,6 +42,7 @@ public class MapFragment extends MvpFragment< MapView, MapPresenter > implements
mMogoMapView.onCreate( savedInstanceState );
mMogoMap = mMogoMapView.getMap();
mMogoMap.getUIController().showMyLocation( true );
mMogoMap.getUIController().recoverLockMode();// 启动锁车
}
@NonNull

View File

@@ -199,7 +199,6 @@ class NaviSettingFragment : BaseFragment(), OnCheckedChangeListener {
if (checkedId == R.id.rb_navi_detail) BroadcastMode.DETAIL else BroadcastMode.CONCISE
)
if (checkedId == R.id.rb_navi_detail) {
SearchServiceHolder.analyticsManager.track("Navigation_guide_type", mapOf("type" to 1))
} else {