DistanceData

constructor(fromLoc: String, toLoc: String, distance: Double)(source)

Parameters

fromLoc

name of the origin location

toLoc

name of the destination location

distance

non-negative travel distance from fromLoc to toLoc