setAccuracyCircleVisibility method
- bool isVisible
Show or hide the position accuracy circle
The accuracy circle provides a visual representation of GPS accuracy around the tracked position. The circle's color and appearance can be customized using MapSceneObject methods.
Parameters
isVisible: True to show the accuracy circle, false to hide it
Returns
- GemError.success - Circle visibility updated successfully
- GemError.notFound - Map object does not exist
Implementation
GemError setAccuracyCircleVisibility(final bool isVisible) {
final OperationResult resultString = objectMethod(
pointerId,
'FollowPositionPreferences',
'setAccuracyCircleVisibility',
args: isVisible,
dependencyId: _mapPointerId,
);
return GemErrorExtension.fromCode(resultString['result']);
}