[2.12.0] taxi送驾高德导航优化

This commit is contained in:
wangmingjun
2022-11-11 21:48:51 +08:00
parent 900213d694
commit f12974f73c
2 changed files with 6 additions and 1 deletions

View File

@@ -1358,6 +1358,9 @@ public class TaxiModel {
//开启实时计算剩余距离,剩余时间,预计时间
startOrStopCalculateRouteInfo(true);
AmapNaviToDestinationModel.getInstance(mContext).destroyAmaNavi();
if (mOrderStatusCallback != null){
mOrderStatusCallback.onNaviToEnd(false,false);
}
}
private void reportTotalDisAndTime() {

View File

@@ -315,8 +315,10 @@ public class TaxiFragment extends BaseTaxiTabFragment<TaxiFragment, TaxiPresente
if (isAmap){
if (null == serverOrdersFragment) return;
serverOrdersFragment.onNaviToEndAmap(isShow);
}else { //使用rotting数据
}else if (isShow){ //使用rotting数据
showRottingToStationFragment(true);
}else {
showAmapNaviToStationFragment(false);
}
}