From 0905c10442a9dd9928251d3359b71b0e45f2ae42 Mon Sep 17 00:00:00 2001 From: wangmingjun Date: Tue, 24 May 2022 14:03:38 +0800 Subject: [PATCH] =?UTF-8?q?[taxi/bus-d=20270]=20=E4=BF=AE=E5=A4=8Dtaxi?= =?UTF-8?q?=E5=8F=B8=E6=9C=BA=E7=AB=AF=E9=81=97=E7=95=99bug=EF=BC=9A?= =?UTF-8?q?=E8=AE=A2=E5=8D=95=E5=8F=96=E6=B6=88=EF=BC=8C=E5=8F=B3=E5=B0=8F?= =?UTF-8?q?=E8=A7=92=E5=B0=8F=E5=9C=B0=E5=9B=BE=E7=BA=BF=E8=B7=AF=E6=9C=AA?= =?UTF-8?q?=E6=B8=85=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mogo/och/taxi/ui/TaxiBeingServerdOrdersFragment.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/OCH/mogo-och-taxi/src/main/java/com/mogo/och/taxi/ui/TaxiBeingServerdOrdersFragment.java b/OCH/mogo-och-taxi/src/main/java/com/mogo/och/taxi/ui/TaxiBeingServerdOrdersFragment.java index 14cb6b72e7..9c7d29330a 100644 --- a/OCH/mogo-och-taxi/src/main/java/com/mogo/och/taxi/ui/TaxiBeingServerdOrdersFragment.java +++ b/OCH/mogo-och-taxi/src/main/java/com/mogo/och/taxi/ui/TaxiBeingServerdOrdersFragment.java @@ -22,6 +22,7 @@ import com.mogo.commons.debug.DebugConfig; import com.mogo.commons.voice.AIAssist; import com.mogo.eagle.core.data.map.CenterLine; import com.mogo.eagle.core.function.call.map.CallerHDMapManager; +import com.mogo.eagle.core.function.call.map.CallerSmpManager; import com.mogo.eagle.core.utilcode.mogo.logger.CallerLogger; import com.mogo.eagle.core.utilcode.mogo.toast.TipToast; import com.mogo.eagle.core.utilcode.util.DateTimeUtils; @@ -447,6 +448,7 @@ public class TaxiBeingServerdOrdersFragment extends BaseTaxiUIFragment implement showOrHideNavi(false); setOrRemoveMapMaker(false, TaxiConst.TAXI_START_MAP_MAKER,order.startSitePoint,R.raw.star_marker); setOrRemoveMapMaker(false, TaxiConst.TAXI_END_MAP_MAKER,order.endSitePoint,R.raw.end_marker); + clearSmallMapRouteLine(); break; case ArriveAtStart: case UserArriveAtStart: @@ -546,6 +548,7 @@ public class TaxiBeingServerdOrdersFragment extends BaseTaxiUIFragment implement setOrRemoveMapMaker(false, TaxiConst.TAXI_START_MAP_MAKER,mCurrentOrder.startSitePoint,R.raw.star_marker); setOrRemoveMapMaker(false, TaxiConst.TAXI_END_MAP_MAKER,mCurrentOrder.endSitePoint,R.raw.end_marker); } + clearSmallMapRouteLine(); //提交取消订单后的回调 TipToast.tip("订单取消成功"); //更新界面 @@ -553,6 +556,10 @@ public class TaxiBeingServerdOrdersFragment extends BaseTaxiUIFragment implement showOrHideNavi(false); } + private void clearSmallMapRouteLine() { + CallerSmpManager.clearPolyline(); + } + /** * 订单流转debug START */