[6.5.0][Opt]新增全览日志
This commit is contained in:
@@ -731,21 +731,21 @@ class TravelRealityView @JvmOverloads constructor(
|
||||
latLng,
|
||||
CallerAutoPilotStatusListenerManager.getLineId(),
|
||||
onSuccess = { bitmap, latLng, lineId ->
|
||||
if (lineId == CallerAutoPilotStatusListenerManager.getLineId()) {
|
||||
if (CallerAutoPilotStatusListenerManager.getLineId() != 0L) {
|
||||
val view = EventVideoView(context, title = title, orientation = orientation)
|
||||
view.setBitmap(bitmap)
|
||||
updateVideoMarker(view, latLng)
|
||||
} else {
|
||||
Log.w(TAG, "downloadImage:onSuccess:lineId不同!")
|
||||
Log.w(TAG, "downloadImage:onSuccess:lineId为0!")
|
||||
}
|
||||
},
|
||||
onFailed = { latLng, lineId ->
|
||||
if (lineId == CallerAutoPilotStatusListenerManager.getLineId()) {
|
||||
if (CallerAutoPilotStatusListenerManager.getLineId() != 0L) {
|
||||
val view = EventVideoView(context, title = title, orientation = orientation)
|
||||
view.setPlaceHolder()
|
||||
updateVideoMarker(view, latLng)
|
||||
} else {
|
||||
Log.w(TAG, "downloadImage:onFailed:lineId不同!")
|
||||
Log.w(TAG, "downloadImage:onFailed:lineId为0!")
|
||||
}
|
||||
})
|
||||
}
|
||||
@@ -794,6 +794,7 @@ class TravelRealityView @JvmOverloads constructor(
|
||||
view.setPlaceHolder()
|
||||
markerOption.icon(BitmapDescriptorFactory.fromView(view))
|
||||
} else {
|
||||
Log.d(TAG, "缓存中未查到对应ip")
|
||||
return@let
|
||||
}
|
||||
} else {
|
||||
@@ -823,6 +824,7 @@ class TravelRealityView @JvmOverloads constructor(
|
||||
liveOptionsList.add(markerOption)
|
||||
}
|
||||
}
|
||||
Log.d(TAG, "绘制卡片的个数为:${liveOptionsList.size}")
|
||||
// 绘制事件卡片
|
||||
drawMarkers(DRAW_LIVE_DETAIL, liveOptionsList)
|
||||
adjustCameraWithVertex(vertexList)
|
||||
|
||||
Reference in New Issue
Block a user