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:

Returns:

void

Exceptions

An exception if it fails.