From ec2dd3bff413f265ff37318a0e889bff0fd0fe4d Mon Sep 17 00:00:00 2001 From: chenfufeng Date: Wed, 5 Jul 2023 17:12:37 +0800 Subject: [PATCH] =?UTF-8?q?[3.3.0][Fix]=E5=B7=B2=E8=B5=B0=E8=BF=87?= =?UTF-8?q?=E8=BD=A8=E8=BF=B9=E6=9B=BF=E6=8D=A2=E6=96=B0=E7=BA=B9=E7=90=86?= =?UTF-8?q?=E4=B8=8D=E5=88=B7=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/mogo/eagle/core/function/view/OverMapView.kt | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/view/OverMapView.kt b/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/view/OverMapView.kt index 656285f640..cd64f3d899 100644 --- a/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/view/OverMapView.kt +++ b/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/view/OverMapView.kt @@ -130,9 +130,6 @@ class OverMapView @JvmOverloads constructor( @Volatile private var lastTime = 0L - @Volatile - private var isPointsChanged = false - /** * 高频的 */ @@ -808,10 +805,7 @@ class OverMapView @JvmOverloads constructor( if (mCoveredPolyline != null) { mCoveredPolyline!!.options.customTextureList = textureList mCoveredPolyline!!.options.customTextureIndex = texIndexList - if (isPointsChanged) { - mCoveredPolyline!!.points = coordinates - isPointsChanged = false - } + mCoveredPolyline!!.points = coordinates return } @@ -1090,7 +1084,6 @@ class OverMapView @JvmOverloads constructor( lastTime = System.currentTimeMillis() } MarkerDrawerManager.stopLoopCalCarLocation() - isPointsChanged = true globalPathResp?.let { ThreadUtils.getSinglePool().execute { handlePlanningData(it.wayPointsList)