The valid unit systems that can be specified in a DirectionsRequest.
DirectionsRequest
Access by calling const {UnitSystem} = await google.maps.importLibrary("core"). See https://developers.google.com/maps/documentation/javascript/libraries.
const {UnitSystem} = await google.maps.importLibrary("core")
Specifies that distances in the DirectionsResult should be expressed in imperial units.
DirectionsResult
Specifies that distances in the DirectionsResult should be expressed in metric units.
Generated using TypeDoc
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.