Loading...
Searching...
No Matches
UserLocationFollowMode Enum Reference

How the user-location layer moves the camera. Reduced to pedestrian follow: none, position, compass heading, course over ground. A map gesture returns the mode to NONE. More...

Public Attributes

 NONE
 Camera stays where the user left it. The arrow still rotates to heading.
 
 POSITION
 Camera follows the position and keeps its current rotation.
 
 HEADING
 Camera follows and rotates to the compass heading.
 
 COURSE
 Camera follows and rotates to the direction of travel. Falls back to compass heading until the user has moved.
 

Detailed Description

How the user-location layer moves the camera. Reduced to pedestrian follow: none, position, compass heading, course over ground. A map gesture returns the mode to NONE.

Referenced from UserLocationLayer.

Definition at line 21 of file user_location_follow_mode.dart.

Member Data Documentation

◆ COURSE

UserLocationFollowMode.COURSE

Camera follows and rotates to the direction of travel. Falls back to compass heading until the user has moved.

Definition at line 38 of file user_location_follow_mode.dart.

◆ HEADING

UserLocationFollowMode.HEADING

Camera follows and rotates to the compass heading.

Definition at line 33 of file user_location_follow_mode.dart.

◆ NONE

UserLocationFollowMode.NONE

Camera stays where the user left it. The arrow still rotates to heading.

Definition at line 25 of file user_location_follow_mode.dart.

◆ POSITION

UserLocationFollowMode.POSITION

Camera follows the position and keeps its current rotation.

Definition at line 29 of file user_location_follow_mode.dart.


The documentation for this enum was generated from the following file: