enableRerouting method

Future<void> enableRerouting({
  1. required ReroutingParameters parameters,
})

Enables automatic rerouting when the tracker detects an off-route status.

Re-routing only occurs when the current location is off-route, but on or near the transportation network edges. For example if an off-route state is detected but the tracked location is in a parking lot, away from any transportation network edges, re-routing will not occur, and will occur only once a subsequent tracked location is on or near the transportation network edges.

Parameters:

Return Value: A Future that has no return value.