From 5d50b1ad500854ae4a8fe559b9affb1ba70d8351 Mon Sep 17 00:00:00 2001 From: chenfufeng Date: Sun, 29 Sep 2024 16:37:58 +0800 Subject: [PATCH] =?UTF-8?q?[6.7.0][Fix]=E8=A7=A3=E5=86=B3=E5=B0=8F?= =?UTF-8?q?=E5=9C=B0=E5=9B=BE=E6=A8=A1=E5=BC=8F=E4=B8=8B=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E6=99=BA=E6=85=A7=E9=81=93=E8=B7=AF=E8=8C=83=E5=9B=B4=E7=9A=84?= =?UTF-8?q?Bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mogo/eagle/core/function/view/TravelRealityView.kt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/view/TravelRealityView.kt b/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/view/TravelRealityView.kt index 7f6e382b0c..e1c095aa4a 100644 --- a/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/view/TravelRealityView.kt +++ b/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/view/TravelRealityView.kt @@ -329,6 +329,9 @@ class TravelRealityView @JvmOverloads constructor( hideSmallCarMarker() // 显示行程总览地图样式 changeMapSettings(false) + if (!isRoadTrackReq) { + handleRoadTrajectories(roadTrackList, null) + } } } @@ -601,7 +604,10 @@ class TravelRealityView @JvmOverloads constructor( Log.d(TAG, "Road track result is:$it") roadTrackList = it isRoadTrackReq = false - handleRoadTrajectories(it, reqData) + // 司机屏默认显示小地图的渲染,乘客屏默认显示行程总览地图的渲染 + if (!AppIdentityModeUtils.isDriver(FunctionBuildConfig.appIdentityMode) || !isSmallMap) { + handleRoadTrajectories(it, reqData) + } }, onError = { isRoadTrackReq = false Log.d(TAG, "Road track error is:$it")