isFollowingPositionTouchHandlerModified method

bool isFollowingPositionTouchHandlerModified()

Checks if follow position mode has been manually adjusted by user input.

Returns true when the camera is following the current position from a fixed relative position that has been modified by user gestures (such as dragging or pinching during follow mode). Returns false if follow position mode is either inactive or remains in its default auto-zoom configuration.

Use this to distinguish between default automatic following and user-customized following behavior. After manual adjustment, the camera maintains a fixed relative position to the tracked location rather than automatically adjusting zoom and angle.

Returns

  • true if follow position mode is active and has been manually adjusted by the user, false if in default state or inactive

See also:

Implementation

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

  return resultString['result'];
}