currentCameraPosition method

  1. @override
Future<MPCameraPosition> currentCameraPosition()
override

Implementation

@override
Future<MPCameraPosition> currentCameraPosition() async {
  final res = await mapControlMethodChannel
      .invokeMethod("MPC_getCurrentCameraPosition");
  return MPCameraPosition._fromJson(jsonDecode(res));
}