restoreFollowingPosition method

void restoreFollowingPosition({
  1. GemAnimation? animation,
})

Restore following position from a manually adjusted mode (camera position fixed relative to the current/simulated position) to default auto-zoom mode.

Parameters

  • IN animation Specifies the animation to be used by the operation.

Throws

  • An exception if it fails.

Implementation

void restoreFollowingPosition({final GemAnimation? animation}) {
  objectMethod(
    _pointerId,
    'MapView',
    'restoreFollowingPosition',
    args: (animation != null) ? animation : <String, dynamic>{},
  );
}