getCamera method

Future<CameraQueryResult> getCamera()

Reads the map's camera.

The query reads the camera after the map applies the commands sent before it.

See mln_map_get_camera in the C API reference.

Implementation

Future<CameraQueryResult> getCamera() => _query(
  _resultCameraQueryResult,
  (arena, completion) =>
      raw.mln_map_get_camera(_handle.raw, completion, nativeDiagnostic),
);