SelectVisibleAltRoutesUseCase

class SelectVisibleAltRoutesUseCase(observeVisibleFasterRoutesUseCase: ObserveVisibleFasterRoutesUseCase, cameraPositionRepository: CameraPositionRepository, visiblePointsExtractor: VisiblePointsExtractor)

Combines changes of visible viewport and the last emitted list of FasterRouteMetadata to extract visible section of FasterRouteMetadata that fits into the visible viewport of the map using visiblePointsExtractor

Constructors

Link copied to clipboard
constructor(observeVisibleFasterRoutesUseCase: ObserveVisibleFasterRoutesUseCase, cameraPositionRepository: CameraPositionRepository, visiblePointsExtractor: VisiblePointsExtractor)