This is the documentation of version 0.60.0. Go to the latest version, 1.0.0-rc.5.
TomTom Maps for JavaScript
    Preparing search index...

    Variable anchorForPitchConst

    anchorForPitch: (pitchDegrees: number) => FlyoverAnchor

    Where a camera at this pitch puts the position it follows, absent an anchor of your own.

    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° — and a top-down pass stays centred without switching modes.

    Type Declaration