[2.15.0] fix roma

This commit is contained in:
zhongchao
2023-04-20 16:11:05 +08:00
parent ef347a66cc
commit c8de2a7622
2 changed files with 4 additions and 3 deletions

View File

@@ -227,16 +227,14 @@ class AiCloudIdentifyDataManager : IMogoMapListener, IReceivedMsgListener,
}
private fun updateRomaStyle(auto: Boolean, route: String? = null) {
MapBizTrace.log(TAG, "updateRomaStyle auto status:$auto, route:${route?:"route reset null"}")
MapBizTrace.log(TAG, "updateRomaStyle auto status:$auto, route:${route?:"reset null"}")
route?.let {
CallerMapUIServiceManager.getMapUIController()?.setRoamTrajectory(route)
}
if (auto) {
FunctionBuildConfig.romaModeStyle = 0
MogoMapUIController.getInstance().setRomaMode(FunctionBuildConfig.romaModeStyle)
} else {
FunctionBuildConfig.romaModeStyle = 1
MogoMapUIController.getInstance().setRomaMode(FunctionBuildConfig.romaModeStyle)
}
}