Join us online - 19th of November
Save your spot
For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.

Interface RoutingResponseOptions

Response formatting options supported by both endpoints.

interface RoutingResponseOptions {
    additionalData?: { detailLevel?: RoutingDetailLevel };
    alternates?: number;
    language?: RoutingInstructionsLanguage;
    units?: RoutingDistanceUnit;
}
Index

Properties

additionalData?: { detailLevel?: RoutingDetailLevel }

Additional data returned with the route

Type Declaration

alternates?: number

Number of alternate routes to generate. Whole numbers only. Maximum: 3. Note that alternates are not generated when the request contains more than two locations.

Language of navigation instructions

Units for distance

Was this helpful?