Companion

object Companion

Functions

Link copied to clipboard
fun create(    directionsResponse: DirectionsResponse,     routeOptions: RouteOptions,     routerOrigin: RouterOrigin): List<NavigationRoute>

Creates new instances of NavigationRoute based on the routes found in the directionsResponse.

fun create(    directionsResponseJson: String,     routeRequestUrl: String,     routerOrigin: RouterOrigin): List<NavigationRoute>

Creates new instances of NavigationRoute based on the routes found in the directionsResponseJson.