[2.12.0] taxi送驾高德导航优化
This commit is contained in:
@@ -1358,6 +1358,9 @@ public class TaxiModel {
|
||||
//开启实时计算剩余距离,剩余时间,预计时间
|
||||
startOrStopCalculateRouteInfo(true);
|
||||
AmapNaviToDestinationModel.getInstance(mContext).destroyAmaNavi();
|
||||
if (mOrderStatusCallback != null){
|
||||
mOrderStatusCallback.onNaviToEnd(false,false);
|
||||
}
|
||||
}
|
||||
|
||||
private void reportTotalDisAndTime() {
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user