TomTom Maps for JavaScript
    Preparing search index...

    Type Alias FlyoverCamera

    How the camera flies.

    type FlyoverCamera = {
        aim: FlyoverAim;
        anchor?: FlyoverAnchor;
        pitch: number;
        speedKMH: number;
        zoom: FlyoverZoom;
    }
    Index

    What the camera aims at down the route.

    { mode: 'instruction', fallbackMetersAhead: 250 }

    anchor?: FlyoverAnchor

    Where the followed position sits on screen. By default, it follows the pitch through anchorForPitch.

    pitch: number

    Camera tilt, in degrees, capped at the map's maxPitch.

    70
    
    speedKMH: number

    Ground speed of the camera, in kilometres per hour.

    200
    

    What sets the camera's height.

    { mode: 'instructions', instructionsAhead: 2 }