fetchRoutes
Request routes based on RouteOptions. Routes obtained from this route request can be obtained via NavigationViewListener.onRouteFetching when the route is being fetched NavigationViewListener.onRouteFetchFailed if the route request failed NavigationViewListener.onRouteFetchCanceled if the route request was canceled NavigationViewListener.onRouteFetchSuccessful if the route request was a success
Parameters
RouteOptions
Request routes based on list of Point. Routes obtained from this route request can be obtained via NavigationViewListener.onRouteFetching when the route is being fetched NavigationViewListener.onRouteFetchFailed if the route request failed NavigationViewListener.onRouteFetchCanceled if the route request was canceled NavigationViewListener.onRouteFetchSuccessful if the route request was a success The first point in the list should be the origin and last point should be the destination. If you have multi waypoints, you can insert additional waypoints in the list between the first and the last point.
Parameters
list of Point