interface Distance {
    text: string;
    value: number;
}

Properties

Properties

text: string

contains a human-readable representation of the distance, displayed in units as used at the origin (or as overridden within the units parameter in the request). (For example, miles and feet will be used for any origin within the United States.)

value: number

indicates the distance in meters.