Route calculation parameters including locations, travel mode, and other options
OptionalcustomTemplate: Partial<CalculateRouteTemplate>Optional template customization for request/response handling
Promise resolving to calculated route(s) with geometry, distance, and travel time
Calculates a route between an origin and destination, optionally passing through extra waypoints.