TomTom Maps for JavaScript
    Preparing search index...

    Variable anchorForPitchConst

    anchorForPitch: (pitchDegrees: number) => FlyoverAnchor

    Returns where a camera at this pitch puts the position it follows when you set no anchor.

    A level map is a plan, so the position belongs in the middle. Tilt the camera and the picture becomes mostly what lies ahead, so the position slides down with the pitch, reaching the lower third at 60°. A top-down pass stays centred without switching modes.

    Type Declaration