public class MyBearingTracking extends Object
These modes visualise the user direction by extracting the direction from either sensor or location data.
Required to enable showing the user location first through MapboxMap.setMyLocationEnabled(boolean)
.
Modifier and Type | Class and Description |
---|---|
static interface |
MyBearingTracking.Mode |
Modifier and Type | Field and Description |
---|---|
static int |
COMPASS
Tracking the bearing of the user based on sensor data
|
static int |
GPS
Tracking the bearing of the user based on GPS data
|
static int |
GPS_NORTH_FACING
Tracking the bearing of the user based on GPS data, but camera always faces north direction
|
static int |
NONE
Bearing tracking is disabled
|
Constructor and Description |
---|
MyBearingTracking() |
public static final int NONE
public static final int COMPASS
public static final int GPS
public static final int GPS_NORTH_FACING
© 2015–2017 Mapbox. All rights reserved.