TomTom Maps for JavaScript
    Preparing search index...

    Type Alias LaneDirection

    Lane guidance information.

    Describes possible directions for a lane and which direction to follow. Used for lane-level navigation guidance.

    // Left lane allows left turn or straight
    const laneDirection: LaneDirection = {
    directions: ['LEFT', 'STRAIGHT'],
    follow: 'LEFT' // Follow the left turn
    };
    type LaneDirection = {
        directions: PossibleLaneDirection[];
        follow?: PossibleLaneDirection;
    }
    Index

    Properties

    Properties

    directions: PossibleLaneDirection[]

    All possible directions this lane leads to.

    A lane may allow multiple directions (e.g., straight and turn).

    The direction to follow in this lane for the route.

    Present when guidance indicates which direction to take.