setDestination

open fun setDestination(destination: GeoCoordinates)

Sets a destination location for calculating a route.

Parameters

destination

Location of destination point

open fun setDestination(destination: GeoCoordinates, @Nullable() customName: String)

Sets a destination location for calculating a route.

Parameters

destination

Location of destination point

customName

Name of destination

open fun setDestination(waypoint: Waypoint)

Sets a destination location for calculating a route.

Return

Waypoint representing a destination location