createTurnByTurnDirectionsForWaypath

Creates turn by turn text directions for a given waypath using the default configurations.

Return

the list of directions

Parameters

path

The waypath to create text directions for.

customMapInfo

A CustomMapInfo object that contains custom information for directions.

Throws

if there are any failures during processing


Creates turn by turn text directions for a given waypath.

Return

the list of directions

Parameters

path

The waypath to create text directions for.

customMapInfo

A CustomMapInfo object that contains custom information for directions.

options

Options to use when creating directions.

Throws

if there are any failures during processing


open fun createTurnByTurnDirectionsForWaypath(path: Waypath, customMapInfo: CustomMapInfo, options: TurnByTurnDirectionOptions, wayfindingDelegate: WayfindingDelegate)

Creates turn by turn text directions asynchronously for a given waypath.

Parameters

path

The waypath to create text directions for.

customMapInfo

A CustomMapInfo object that contains custom information for directions.

options

Options to use when creating directions.

wayfindingDelegate

The object that implements WayfindingDelegate so that it can receive the callbacks.