DistanceUnit

An enumeration of the distance unit used for generating routes and itineraries.

Name Value Description
Mile 0 Generates route information in miles.
Kilometer 1 Generates route information in kilometers.