getCamera method
Reads the projection's camera.
See mln_map_projection_get_camera in the
C API reference.
Implementation
MapProjectionCameraResult getCamera() => withNativeArena((arena) {
final outResult = arena<raw.mln_map_projection_camera_result>();
outResult.ref.size = sizeOf<raw.mln_map_projection_camera_result>();
_check(
raw.mln_map_projection_get_camera(
_handle.raw,
outResult,
nativeDiagnostic,
),
);
return _readMapProjectionCameraResult(outResult.ref);
});