touchHandlerModifyPersistent property
Whether manual follow position adjustments persist across sessions
When true, user adjustments to the camera (angle, distance, etc.) made during follow mode via touch gestures will be remembered and applied to subsequent follow position sessions. When false (default), each new follow session starts with default settings.
Returns
- True if manual adjustments persist across sessions, false otherwise (default: false)
Implementation
bool get touchHandlerModifyPersistent {
final OperationResult resultString = objectMethod(
pointerId,
'FollowPositionPreferences',
'getTouchHandlerModifyPersistent',
dependencyId: _mapPointerId,
);
return resultString['result'];
}
Control whether manual camera adjustments persist across follow sessions
When enabled, user adjustments to camera angle, distance, etc. during follow mode are remembered and applied to subsequent follow sessions. When disabled (default), each session starts fresh.
Parameters
isPersistent: True to remember adjustments across sessions, false to reset each time. Default: false
Implementation
set touchHandlerModifyPersistent(final bool isPersistent) {
objectMethod(
pointerId,
'FollowPositionPreferences',
'setTouchHandlerModifyPersistent',
args: isPersistent,
dependencyId: _mapPointerId,
);
}