Home > @magiclane/maps-sdk > GemView > restoreFollowingPosition

GemView.restoreFollowingPosition() method

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

Signature:

restoreFollowingPosition(animation?: GemAnimation): void;

Parameters

Parameter

Type

Description

animation

GemAnimation

(Optional) Specifies the animation to be used by the operation.

Returns:

void

Exceptions

An exception if it fails.