[6.5.0][道路事件][行人/非机动车] marker移除时,对应的弹窗也消失

This commit is contained in:
renwj
2024-07-08 10:37:13 +08:00
parent 67e405d409
commit 70cf0ff640

View File

@@ -113,6 +113,7 @@ class AiRoadMarker {
markerIds.add(markerId)
val wrapper = MarkerWrapper(markerId, marker.poi_lon, marker.poi_lat, 1, elapsedDistance = 10)
wrapper.onRemoved = {
CallerRoadV2NEventWindowListenerManager.dismiss(markerId)
builders.remove(markerId)
markerIds.remove(p.id)
}