explore Incidents On Route
fun exploreIncidentsOnRoute(route: Route, filter: List<String>, listener: RouteExplorer.OnExploreIncidentsOnRouteListener, executor: Executor? = null): Task
Load all incidents along the route. Listener's onExploreIncidentsLoaded method is called multiple times with progress of exploration and data already analyzed. Last call is with progress 100.
Parameters
route
Route along which are places searched for and filtered by place categories in filter list
filter
List of incident categories for filtering
listener
Receive all incidents along the route filtered categories in filter list
executor
(optional) Executor which will execute listener's callbacks