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 RoutingRouteLeg

Single leg of a route

interface RoutingRouteLeg {
    geometry: Position[];
    steps?: RoutingRouteStep[];
    summary: RoutingSummary;
}
Index

Properties

geometry: Position[]

Geometry of the leg as a list of coordinates. Encoded Polyline geometry is decoded by the client before being returned.

Turn-by-turn steps

Summary of the leg

Was this helpful?