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

    Interface MapSnapshot

    Immutable map state copied from the latest published generation.

    See mln_map_snapshot in the C API reference.

    interface MapSnapshot {
        bounds: BoundOptions;
        debugOptions: number;
        eventMask: bigint;
        freeCamera: FreeCameraOptions;
        fullyLoaded: boolean;
        generation: bigint;
        gestureInProgress: boolean;
        latestRenderUpdateGeneration: bigint;
        renderingStatsViewEnabled: boolean;
        tile: MapTileOptions;
        transitionInProgress: boolean;
        view: MapView;
    }
    Index
    bounds: BoundOptions
    debugOptions: number

    Debug overlay mask of mln_map_debug_option values.

    eventMask: bigint
    freeCamera: FreeCameraOptions
    fullyLoaded: boolean

    True once every requested style and tile resource finished loading.

    generation: bigint
    gestureInProgress: boolean

    True while the map is inside a gesture.

    latestRenderUpdateGeneration: bigint

    Generation of the latest render update the map published. A rendered frame at or past it draws map state that includes every command this snapshot observes, though animations and resource loads finish in later frames.

    renderingStatsViewEnabled: boolean
    transitionInProgress: boolean

    True while a camera command with a duration is still animating.

    view: MapView

    The map's camera, extent, projection mode, and viewport options. mln_map_projection_create() converts coordinates for this view.