TomTom Maps for JavaScript
    Preparing search index...

    Type Alias FlyoverAim

    FlyoverAim:
        | { metersAhead: number; mode: "distance" }
        | { mode: "points"; pointsAhead: number }
        | { fallbackMetersAhead: number; mode: "instruction" }

    What the camera points at, which decides how early it turns into a bend.

    • distance - A fixed distance down the road. It's predictable, but blind to what the road does.
    • points - A number of the route's own vertices. The line is denser through bends, so the aim shortens exactly where the road turns.
    • instruction - The next guidance instruction, so the camera looks at the junction it's heading for. It needs a route requested with guidance. Without instructions, it aims by distance.