[6.3.0][V2N] 修正道路施工重复多展示多次

This commit is contained in:
renwj
2024-03-26 16:07:09 +08:00
parent 6c0e7469b6
commit f63c120684
2 changed files with 6 additions and 4 deletions

View File

@@ -84,12 +84,13 @@ internal object V2NIdentifyDrawer {
return@Callback true
}
if (msg.what == MSG_WHAT_DRAW_SHIGONE) {
Log.d("V2NIdentifyDrawer", "---callback -- drawShiGong --- 2 ---:data: ${ filtered.joinToString(",") { GsonUtils.toJson(it) } }")
Log.d("V2NIdentifyDrawer", "---callback -- drawShiGong --- 2 ---")
} else {
Log.d("V2NIdentifyDrawer", "---callback -- drawShiGu --- 2 ---data: ${ filtered.joinToString(",") { GsonUtils.toJson(it) } }")
Log.d("V2NIdentifyDrawer", "---callback -- drawShiGu --- 2 ---")
}
filtered.forEach { itx ->
val id = itx.uuid.toString()
Log.d("V2NIdentifyDrawer", "---callback --- id: $id ---")
AiRoadMarker.aiMakers.getOrPut(id) {
AiRoadMarker().apply {
val poiType = getPoiType(itx.type).poiType
@@ -204,13 +205,14 @@ internal object V2NIdentifyDrawer {
V2XBizTrace.onAck(TAG, mapOf("yongDu-filter" to ""), true)
return@Callback true
}
Log.d("V2NIdentifyDrawer", "---callback -- drawYongDu --- 2 ---data: ${ filtered.joinToString(",") }")
Log.d("V2NIdentifyDrawer", "---callback -- drawYongDu --- 2 ---")
filtered.forEach { itx ->
val id = itx.rteId.toString()
val lon = itx.eventPos?.offsetLL?.positionLatLon?.lon?.let { it * 1.0 / 10_000_000 }
?: 0.0
val lat = itx.eventPos?.offsetLL?.positionLatLon?.lat?.let { it * 1.0 / 10_000_000 }
?: 0.0
Log.d("V2NIdentifyDrawer", "---callback -- id: $id---")
AiRoadMarker.aiMakers.getOrPut(id) {
AiRoadMarker().apply {
val poiType = getPoiType(itx.eventType).poiType

View File

@@ -17,6 +17,6 @@ if (!isAndroidTest) {
apply from: rootProject.file('gradle/bytex/bytex_apm.gradle')
apply from: rootProject.file('gradle/bytex/bytex_systrace.gradle')
apply from: rootProject.file('gradle/bytex/bytex_matrix.gradle')
apply from: rootProject.file('gradle/bytex/bytex_handler_proxy.gradle')
// apply from: rootProject.file('gradle/bytex/bytex_handler_proxy.gradle')
// apply from: rootProject.file('gradle/bytex/bytex_btrace.gradle')
}