Options
All
  • Public
  • Public/Protected
  • All
Menu

The valid unit systems that can be specified in a DirectionsRequest.

Access by calling const {UnitSystem} = await google.maps.importLibrary("core"). See https://developers.google.com/maps/documentation/javascript/libraries.

Index

Enumeration Members

Enumeration Members

IMPERIAL: 0

Specifies that distances in the DirectionsResult should be expressed in imperial units.

METRIC: 1

Specifies that distances in the DirectionsResult should be expressed in metric units.

Generated using TypeDoc