From 090a6711a3a43c129bc30019de4b7d47b543edac Mon Sep 17 00:00:00 2001 From: zhongchao Date: Tue, 8 Aug 2023 15:53:28 +0800 Subject: [PATCH] [3.4.0] fix bug of small map --- .../java/com/mogo/eagle/core/function/smp/view/SmallMapView.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/smp/view/SmallMapView.kt b/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/smp/view/SmallMapView.kt index fa6fa59c1d..be0d0053d7 100644 --- a/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/smp/view/SmallMapView.kt +++ b/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/smp/view/SmallMapView.kt @@ -325,6 +325,9 @@ class SmallMapView @JvmOverloads constructor( super.onAutopilotRouteLineId(lineId) if(lineId == 0L){ this.globalPathResp = null + UiThreadHandler.post { + clearPolyline() + } } }