Realtime-Port-Authority icon indicating copy to clipboard operation
Realtime-Port-Authority copied to clipboard

Buses sometimes don't disappear when the route is deselected

Open mikeantonacci opened this issue 4 years ago • 0 comments

Seems like a timing issue. Need to synchronize the changes to the busicons from the vehicle update observable and the route selection observable. Example logging that demonstrates the issue:

D/RouteSelection: getting both routes: 61B, [61D, 65] D/PatternViewModel$Companion$createPatternSelection: Getting patternSelections: 61B D/BusMapFragment$setupReactiveObjects: removing all 61B's D/BusMapFragment$setupReactiveObjects: REMOVE 6441: com.google.android.gms.maps.model.Marker@8762692 D/BusMapFragment$setupReactiveObjects: Iterating through all vehicles to add V/BusMapFragment$makeBitmaps: using cached bitmap 61B V/BusMapFragment$vehicleUpdateObserver: marker_add adding_marker 6441

mikeantonacci avatar May 21 '20 07:05 mikeantonacci