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

    Interface BoundOptions

    Optional map camera constraint fields.

    See mln_bound_options in the C API reference.

    interface BoundOptions {
        bounds?: LatLngBounds;
        maxPitch?: number;
        maxZoom?: number;
        minPitch?: number;
        minZoom?: number;
        unbounded?: boolean;
    }
    Index
    bounds?: LatLngBounds

    Read when fields contains MLN_BOUND_OPTION_BOUNDS.

    maxPitch?: number
    maxZoom?: number
    minPitch?: number
    minZoom?: number
    unbounded?: boolean

    Selects the unbounded geographic constraint, which leaves every camera center unconstrained and lets the map pan freely across the antimeridian. This differs from world bounds of -90/-180 to 90/180, which clamp longitude to that range. Mutually exclusive with MLN_BOUND_OPTION_BOUNDS, and leaves mln_bound_options.bounds unread.