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

    Class RuntimeHandle

    A runtime: the native scheduler thread and event store for its maps.

    See mln_runtime in the C API reference.

    Hierarchy

    • Owner
      • RuntimeHandle
    Index
    "[asyncDispose]": () => Promise<void>

    Calls close(), for await using. Hosts without Symbol.asyncDispose, such as ArkTS, leave it undefined.

    "[dispose]": () => void

    Calls dispose(), for using. Hosts without Symbol.dispose, such as ArkTS, leave it undefined.

    id: bigint

    The native handle ID, which runtime events report as their source. It stays readable after close.

    • Enables or disables runtime events for an offline region.

      See mln_runtime_set_offline_region_observed in the C API reference.

      Parameters

      • regionId: bigint
      • observed: boolean

      Returns Promise<void>