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

    Interface CameraOptions

    A camera, with only the members that fields selects.

    See mln_camera_options in the C API reference.

    interface CameraOptions {
        anchor?: ScreenPoint;
        bearing?: number;
        center?: LatLng;
        centerAltitude?: number;
        fieldOfView?: number;
        padding?: EdgeInsets;
        pitch?: number;
        roll?: number;
        zoom?: number;
    }
    Index
    anchor?: ScreenPoint

    The screen point that a change to the zoom, bearing, or pitch keeps in place. A center overrides it.

    bearing?: number

    The rotation from north, in degrees.

    center?: LatLng
    centerAltitude?: number

    The altitude of the center, in meters above sea level.

    fieldOfView?: number

    The vertical field of view, in degrees.

    padding?: EdgeInsets

    Insets from the map's edges. The camera centers within the rest.

    pitch?: number

    The tilt toward the horizon, in degrees. 0 looks straight down.

    roll?: number

    The roll, in degrees.

    zoom?: number