[6.1.0][Opt]新增一些全览地图的日志

This commit is contained in:
chenfufeng
2023-10-10 19:21:20 +08:00
parent 3893dc55a8
commit 653320691d

View File

@@ -169,6 +169,10 @@ object MarkerDrawerManager {
)
if (tmpDistance <= distance) {
// 车此刻运动方向与两轨迹点朝向的夹角小于90(结合距离线段最近则车在两点之间意味着已走过第index个轨迹点)
Log.d(
"MarkerDrawerManager",
"车辆定位为:($realLon,$realLat),index为:$index,线段为:(${latLng.longitude},${latLng.latitude})->(${routePoints[index + 1].longitude},${routePoints[index + 1].latitude})"
)
angle = getLineAngle(
latLng.longitude,
latLng.latitude,
@@ -177,7 +181,7 @@ object MarkerDrawerManager {
)
Log.d(
"MarkerDrawerManager",
"index为:$index,车航向角为:$heading,到此路段的距离为:$tmpDistance,路段角度为:$angle"
"车航向角为:$heading,到此路段的距离为:$tmpDistance,路段角度为:$angle"
)
if (getAngleDiff(angle, heading) < 90) {
distance = tmpDistance