isDefaultFollowingPosition method

bool isDefaultFollowingPosition()

Checks if follow position mode is active in its default auto-zoom configuration.

Returns true when the camera is following the current position with the default automatic zoom and angle adjustments. Returns false if follow position mode is inactive or has been manually adjusted by user input to maintain a fixed relative camera position.

This is the most restrictive follow position check, requiring both active tracking and default configuration. Use isFollowingPosition to check for any active follow mode regardless of configuration.

Returns

  • true if in default auto-zoom follow position mode, false if manually adjusted or inactive

See also:

Implementation

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

  return resultString['result'];
}