Directions results contain text within distance fields that may be displayed to the user to indicate the distance of a particular "step" of the route. By default, this text uses the unit system of the origin's country or region.

Enumeration Members

Enumeration Members

imperial: "imperial"

specifies usage of the Imperial (English) system. Textual distances are returned using miles and feet.

metric: "metric"

specifies usage of the metric system. Textual distances are returned using kilometers and meters.