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 RoutingRouteStep

Details of a single turn-by-turn step

interface RoutingRouteStep {
    beginIndex?: number;
    details?: {
        ferry?: boolean;
        highway?: boolean;
        rough?: boolean;
        toll?: boolean;
    };
    endIndex?: number;
    length: number;
    maneuver?: RoutingRouteManeuver;
    streetName?: string;
    time: number;
}
Index

Properties

beginIndex?: number

Index of step start in geometry array

details?: {
    ferry?: boolean;
    highway?: boolean;
    rough?: boolean;
    toll?: boolean;
}

Step-level flags

endIndex?: number

Index of step end in geometry array

length: number

Distance in chosen units

Maneuver details

streetName?: string

Street name

time: number

Time in seconds

Was this helpful?