[2.15.0][V2N] 优化v2n新链路事件移除逻辑
[2.15.0][V2N] 优化逻辑
This commit is contained in:
@@ -57,7 +57,7 @@ internal object V2NIdentifyDrawer {
|
||||
AiRoadMarker().apply {
|
||||
val poiType = getPoiType(itx.type).poiType
|
||||
val polygon = itx.polygonList.map { Pair.create(it.longitude, it.latitude) }
|
||||
marker(Marker(id, poiType, itx.longitude, itx.latitude, itx.heading, polygon, null,
|
||||
marker(Marker(id, poiType, itx.latitude,itx.longitude, itx.heading, polygon, null,
|
||||
V2XRoadEventEntity().also { e ->
|
||||
e.poiType = poiType
|
||||
e.location = MarkerLocation().also { l ->
|
||||
@@ -112,7 +112,7 @@ internal object V2NIdentifyDrawer {
|
||||
AiRoadMarker.aiMakers.getOrPut(id) {
|
||||
AiRoadMarker().apply {
|
||||
val poiType = getPoiType(itx.eventType).poiType
|
||||
marker(Marker(id, poiType, lon, lat, car.heading, null, null,
|
||||
marker(Marker(id, poiType, lat, lon, car.heading, null, null,
|
||||
V2XRoadEventEntity().also { e ->
|
||||
e.poiType = poiType
|
||||
e.location = MarkerLocation().also { l ->
|
||||
|
||||
Reference in New Issue
Block a user