[6.5.0] 升级高精地图版本,解决路口bug,修复路口计数功能,增加全息路口只在有路线ID时显示
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
package com.mogo.eagle.core.function.datacenter.v2x
|
||||
|
||||
import android.util.Log
|
||||
import com.mogo.eagle.core.function.api.autopilot.IMoGoAutopilotStatusListener
|
||||
import com.mogo.eagle.core.function.api.map.road.IMoGoMapRoadListener
|
||||
import com.mogo.eagle.core.function.call.autopilot.CallerAutoPilotStatusListenerManager
|
||||
import com.mogo.eagle.core.function.call.map.CallerMapRoadListenerManager
|
||||
import com.zhidaoauto.map.data.road.RoadCross
|
||||
|
||||
|
||||
/**
|
||||
* 路线功能相关,绑定路线id后,业务控制,数据变化均可以封装在这里实现
|
||||
*/
|
||||
@@ -35,11 +35,10 @@ class RoadLineEventManager : IMoGoMapRoadListener, IMoGoAutopilotStatusListener
|
||||
|
||||
override fun onRoadChange(cross: Boolean, roadCross: RoadCross?) {
|
||||
super.onRoadChange(cross, roadCross)
|
||||
Log.e(TAG, "onRoadChange: $cross, $roadCross")
|
||||
if(!record){
|
||||
return
|
||||
}
|
||||
if(!cross){
|
||||
if(cross){
|
||||
CallerAutoPilotStatusListenerManager.updateRoadCount()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user