TomTom Maps for JavaScript
    Preparing search index...

    Type Alias FlyoverZoom

    FlyoverZoom:
        | { mode: "fixed"; zoom: number }
        | { instructionsAhead: number; mode: "instructions" }
        | { mode: "speed" }

    How high the camera rides. Whatever the mode, it pulls back further where terrain would otherwise come between the camera and the road.

    • fixed - One MapLibre zoom, whatever the road does.
    • instructions - Frames the junctions ahead with the zoom that fits the next N instructions, at least one, in the view. A run of hairpins then pulls back, and a straight closes in.
    • speed - Follows the ground speed, the way a driver's eyes lift with it.