Home > @magiclane/maps-sdk > GemView > getIsFollowingPosition
GemView.getIsFollowingPosition() method
Returns true if the camera is following the current real/simulated position and false otherwise.
Signature:
getIsFollowingPosition(alsoFlyToPosition: boolean): boolean;Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
alsoFlyToPosition |
boolean |
If true, includes the fly-to-position phase in the result. |
Returns:
boolean
True if the map is currently following the current position.
Exceptions
An exception if it fails.