Home > @magiclane/maps-sdk > GemView > startFollowingPosition
GemView.startFollowingPosition() method
Start following the current position.
Requires automatic map rendering. Disables the cursor if it is enabled.
Signature:
startFollowingPosition(input?: {
animation?: GemAnimation;
zoomLevel?: number;
viewAngle?: number;
positionObj?: MapSceneObject;
}): void;Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
{ animation, zoomLevel, viewAngle, positionObj, } |
(not declared) |
(Optional) |
|
input |
{ animation?: GemAnimation; zoomLevel?: number; viewAngle?: number; positionObj?: MapSceneObject; } |
(Optional) |
input properties:
- Optional animation?: GemAnimation
- Optional zoomLevel?: number
- Optional viewAngle?: number
- Optional positionObj?: MapSceneObject
Returns:
void
Exceptions
An exception if it fails.