@maplibre/native-ffi
    Preparing search index...

    Interface CameraDelta

    One atomic relative camera update.

    See mln_camera_delta in the C API reference.

    interface CameraDelta {
        anchor?: ScreenPoint;
        animation?: AnimationOptions;
        bearing?: number;
        gesturePhase?: GesturePhase;
        offset?: ScreenPoint;
        pitch?: number;
        scale?: number;
    }
    Index
    anchor?: ScreenPoint

    Screen point in logical map pixels that scale, bearing, and pitch keep fixed.

    animation?: AnimationOptions
    bearing?: number

    Degrees added to the bearing.

    gesturePhase?: GesturePhase
    offset?: ScreenPoint

    Pan in logical map pixels; the content moves by this offset.

    pitch?: number

    Degrees added to the pitch; positive tilts further from straight down.

    scale?: number

    Positive zoom factor; 2 zooms in one level.