public class MyLocationTracking
extends java.lang.Object
This allows tracking the user location on screen by updating the camera position when a location update occurs.
Required to enable showing the user location first through MapboxMap.setMyLocationEnabled(boolean).
| Modifier and Type | Class and Description |
|---|---|
static interface |
MyLocationTracking.Mode |
| Modifier and Type | Field and Description |
|---|---|
static int |
TRACKING_FOLLOW
Tracking the location of the user.
|
static int |
TRACKING_NONE
Tracking the location of the user is disabled.
|
| Constructor and Description |
|---|
MyLocationTracking() |
public static final int TRACKING_NONE
public static final int TRACKING_FOLLOW
MapView will reposition to center of MyLocationView