isFollowingPositionTouchHandlerModified method
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
trueif follow position mode is active and has been manually adjusted by the user,falseif in default state or inactive
See also:
- isDefaultFollowingPosition - Check if in default auto-zoom follow mode
- restoreFollowingPosition - Restore to default follow mode from adjusted state
- isFollowingPosition - Check if follow mode is active
Implementation
bool isFollowingPositionTouchHandlerModified() {
final OperationResult resultString = objectMethod(
_pointerId,
'MapView',
'isFollowingPositionTouchHandlerModified',
);
return resultString['result'];
}