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