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

    Class MapProjectionHandle

    A standalone projection of one map view.

    See mln_map_projection in the C API reference.

    Hierarchy

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

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

    "[dispose]": () => void

    Calls close(), 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.

    • Reads the ground distance covered by one logical map pixel at a latitude for the helper camera zoom.

      See mln_map_projection_meters_per_pixel_at_latitude in the C API reference.

      Parameters

      • latitude: number

      Returns number