stopFollowingPosition method

void stopFollowingPosition({
  1. bool restoreCameraMode = false,
})

Stop the camera from following the current real/simulated position.

** Parameters**

Throws

  • An exception if it fails.

Implementation

void stopFollowingPosition({bool restoreCameraMode = false}) {
  objectMethod(
    _pointerId,
    'MapView',
    'stopFollowingPosition',
    args: restoreCameraMode,
  );
}