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 RoutingSummary

Summary of a route or a leg

interface RoutingSummary {
    bbox: RoutingBBox;
    cost: number;
    ferry?: boolean;
    highway?: boolean;
    toll?: boolean;
    totalLength: number;
    totalTime: number;
}
Index

Properties

Bounding box of the route

cost: number

Cost calculated by the costing model

ferry?: boolean

Whether route contains ferries

highway?: boolean

Whether route contains highways

toll?: boolean

Whether route contains tolls

totalLength: number

Total travel distance in chosen units

totalTime: number

Total travel time in seconds

Was this helpful?