addRoute

open fun addRoute(directionsRoute: DirectionsRoute)

Allows adding a single primary route for the user to traverse along. No alternative routes willbe drawn on top of the map.

Parameters

directionsRoute

the directions route which you'd like to display on the map