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)