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

    Variable FrameDemandFlagConst

    FrameDemandFlag: { force: 1; waitForUpdate: 4 } = ...

    How a frame demand behaves.

    Without flags, a demand draws a frame when the map changed since the last one, and otherwise finishes with RenderResult.noUpdate. A session with a surface target shows each frame that it draws.

    See mln_frame_demand_flag in the C API reference.

    Type Declaration

    • Readonlyforce: 1

      Draws a frame even when nothing changed since the last one. It can't be combined with FrameDemandFlag.waitForUpdate.

    • ReadonlywaitForUpdate: 4

      When the map has nothing new to draw, waits for its next update instead of finishing with RenderResult.noUpdate.