getCameraPosition method

Future<OlaLatLng?> getCameraPosition()

Camera target when the map is idle (center of the viewport).

Implementation

Future<OlaLatLng?> getCameraPosition() async {
  final camera = await getCamera();
  return camera?.target;
}