getCameraPosition method

Future<CameraPosition> getCameraPosition({
  1. required int mapId,
})

Returns current camera position.

The returned object will be synthesized from platform data, so will not be the same Dart object as the original CameraPosition provided to the platform interface with map initialization or with CameraUpdate.

Implementation

Future<CameraPosition> getCameraPosition({required int mapId}) {
  throw UnimplementedError('getCameraPosition() has not been implemented.');
}