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

    Class MapProjectionHandle

    A camera view for converting between screen points and coordinates.

    See mln_map_projection in the C API reference.

    Hierarchy

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

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

    "[dispose]": () => void

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

    id: bigint

    The native handle value. It stays readable after release.

    • Computes how many meters one screen pixel covers at latitude, at the projection's zoom.

      The result ignores the camera's pitch.

      See mln_map_projection_meters_per_pixel_at_latitude in the C API reference.

      Parameters

      • latitude: number

      Returns number