[2.13.2]修正事件消失后移除逻辑

This commit is contained in:
renwj
2023-01-14 13:31:01 +08:00
parent 787e981f69
commit 11f256380d

View File

@@ -69,7 +69,7 @@ class V2XAiRoadEventMarker {
options.zIndex(75000f)
options.maxIndex(800000f)
val line = overlayManager.addPolyline(options)
current.set(Pair(line, null))
current.set(Pair(line, wrapper.markers))
if (line != null) {
line.isVisible = true
wrapper.addLine(line)