setDistanceToDestination

Deprecated

This will be removed 6 months after the next release.

Sets the distance to destination.

Parameters

distance

distance to destination.

units

distance unit.