addDistance

abstract fun addDistance(distanceData: DistanceData): Pair<LocationIfc, LocationIfc>

Adds the distance data to the distances model.

Return

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

Parameters

distanceData

the distance data to add