setRoute

open fun setRoute(@NonNull route: Route)

Set the renderer to use the result from the DirectionsService. Setting a valid set of directions in this manner will display the directions on the renderer's designated map and panel.

Parameters

route