public void addRoute ( DirectionsRoute directionsRoute ) { List < DirectionsRoute > routes = new ArrayList <> ( ) ; routes . add ( directionsRoute ) ; addRoutes ( routes ) ; }
Allows adding a single primary route for the user to traverse along . No alternative routes will be drawn on top of the map .