setDistanceToDestination

Deprecated

This will be removed from future releases after 2026-07-26.

Sets the distance to destination.

Parameters

distance

distance to destination.

units

distance unit.