diff --git a/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/business/ai/AiCloudIdentifyDataManager.kt b/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/business/ai/AiCloudIdentifyDataManager.kt index a7240e8a52..cd43f8cff0 100644 --- a/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/business/ai/AiCloudIdentifyDataManager.kt +++ b/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/business/ai/AiCloudIdentifyDataManager.kt @@ -73,6 +73,9 @@ class AiCloudIdentifyDataManager : IMoGoPlanningRottingListener, @Volatile private var cloudDataSize = 0 + @Volatile + private var inRange = false + private val handler = Handler(Looper.getMainLooper()) { if (it.what == H_ERROR_CLOUD) { if (!aiCloudDataChange.get()) { @@ -195,6 +198,7 @@ class AiCloudIdentifyDataManager : IMoGoPlanningRottingListener, "lat" to gnss.latitude ), true ) + inRange = range if (FunctionBuildConfig.romaModeStyle == 1) { return } @@ -366,6 +370,7 @@ class AiCloudIdentifyDataManager : IMoGoPlanningRottingListener, } if (auto) { FunctionBuildConfig.romaModeStyle = 0 + invokeRomaViewStatus(inRange) } else { FunctionBuildConfig.romaModeStyle = 1 invokeRomaViewStatus(true) diff --git a/libraries/mapmodule/src/main/java/com/autonavi/nge/map/MapView.kt b/libraries/mapmodule/src/main/java/com/autonavi/nge/map/MapView.kt index 6aaf7ff585..4dbd2c7b17 100644 --- a/libraries/mapmodule/src/main/java/com/autonavi/nge/map/MapView.kt +++ b/libraries/mapmodule/src/main/java/com/autonavi/nge/map/MapView.kt @@ -148,7 +148,6 @@ class MapView(context: Context, private val mMapStyleParams: IMapStyleParams, pr private val mHandler: Handler = object : Handler(Looper.getMainLooper()) { override fun handleMessage(msg: Message) { - Log.d("emArrow-map","handler : $msg") when (msg.what) { ZOOM_CHANGE -> mMapController?.dispatchZoomChanged() ROTATE_CHANGE ->mMapController?.dispatchRotationAngleChanged((msg.obj as Float))