RouteFetcher

abstract class RouteFetcher

You can extend this to fetch a route. When a route was successfully fetched, you should notify the routeListeners about the new route

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Link copied to clipboard
abstract fun cancelRouteCall()

Cancels the Directions API call if it has not been executed yet.

Link copied to clipboard
Link copied to clipboard
abstract fun findRouteFromRouteProgress(location: Location, routeProgress: RouteProgress)

Calculates a new DirectionsRoute given the current Location and RouteProgress along the route.