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

    Interface CameraFitOptions

    Options for finding the camera that fits an area.

    See mln_camera_fit_options in the C API reference.

    interface CameraFitOptions {
        bearing?: number;
        padding?: EdgeInsets;
        pitch?: number;
    }
    Index
    bearing?: number

    The rotation from north, in degrees.

    padding?: EdgeInsets

    Space to leave between the area and each edge of the map. The left and right insets must add up to less than the map's width, and the top and bottom to less than its height.

    pitch?: number

    The tilt toward the horizon, in degrees.