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

    Variable BoundOptionFieldConst

    BoundOptionField: {
        bounds: 1;
        maxPitch: 16;
        maxZoom: 4;
        minPitch: 8;
        minZoom: 2;
        unbounded: 32;
    } = ...

    Field mask values for mln_bound_options.

    See mln_bound_option_field in the C API reference.

    Type Declaration

    • Readonlybounds: 1

      Selects mln_bound_options.bounds as a geographic constraint that the camera center stays inside. Mutually exclusive with MLN_BOUND_OPTION_UNBOUNDED.

    • ReadonlymaxPitch: 16
    • ReadonlymaxZoom: 4
    • ReadonlyminPitch: 8
    • ReadonlyminZoom: 2
    • Readonlyunbounded: 32

      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.