isDefaultFollowingPosition method

bool isDefaultFollowingPosition()

Returns true if the camera is following the current real/simulated position in default auto-zoom mode and false otherwise.

Returns

  • True if the map is in the default auto-zoom follow position mode, false if it has been manually adjusted or is not in follow position mode.

Throws

  • An exception if it fails.

Implementation

bool isDefaultFollowingPosition() {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'MapView',
    'isDefaultFollowingPosition',
  );

  return resultString['result'];
}