torque-pro-assistant - v1.0.0
    Preparing search index...

    Output of buildRoutePolyline.

    interface RoutePolyline {
        end: ProjectedPoint | null;
        markers: readonly ProjectedMarker[];
        path: string;
        pointCount: number;
        start: ProjectedPoint | null;
    }
    Index

    Properties

    end: ProjectedPoint | null

    Last GPS-bearing row's projected position. null when the route has fewer than two contributing points.

    markers: readonly ProjectedMarker[]

    Caller-supplied markers projected against the same bbox as the polyline. Empty when no markers were passed, or when the route itself is empty.

    path: string

    SVG path d attribute. Empty string when there aren't at least two GPS-bearing rows to draw between.

    pointCount: number

    Number of GPS-bearing rows the polyline was built from. Callers can branch the empty-state on this.

    start: ProjectedPoint | null

    First GPS-bearing row's projected position. null when the route has fewer than two contributing points.