addDistances

Adds the distance data to the distances model.

Return

returns a map of the origin and destination as a pair of locations (origin, destination)

Parameters

distances

the distance data to add