[6.10.0][Fix]解决推荐车道不显示的问题

This commit is contained in:
chenfufeng
2025-02-20 16:54:15 +08:00
parent f3cc4c377f
commit e6375305e9

View File

@@ -646,17 +646,17 @@ internal object V2NIdentifyDrawer : IEventDismissListener {
// 所有车道的uuid都要存储起来
trafficData.forEach { objNew ->
lastMap[objNew.uuid] = 1
roadMsgList.add(
NDEMsg.RoadMsg(
objNew.arrowType, laneNum = objNew.laneNum,
isRecommend = objNew.suggestedLanes, isCheLong = objNew.polygonCount > 1
)
)
}
hasCheLong = true
return@forEach
}
}
roadMsgList.add(
NDEMsg.RoadMsg(
obj.arrowType, laneNum = obj.laneNum,
isRecommend = obj.suggestedLanes, isCheLong = obj.polygonCount > 1
)
)
}
}
if (hasCheLong) {