directDistance property

Distance? get directDistance

The direct distance component of the distance measurement.

Returns null if valid start and end locations have not been set or if an error occurs.