Skip navigation links
A B C E F G L M N O P R S T U 

A

accuracyAlpha() - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions
Set the opacity of the accuracy view to a value from 0 to 1, where 0 means the accuracy view is completely transparent and 1 means the view is completely opaque.
accuracyAlpha(float) - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions.Builder
Set the opacity of the accuracy view to a value from 0 to 1, where 0 means the accuracy view is completely transparent and 1 means the view is completely opaque.
accuracyColor() - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions
Solid color to use as the accuracy view color property.
accuracyColor(int) - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions.Builder
Solid color to use as the accuracy view color property.
addCompassListener(CompassListener) - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerPlugin
Add a compass listener to get heading updates every second.
addOnCameraTrackingChangedListener(OnCameraTrackingChangedListener) - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerPlugin
Adds a listener that gets invoked when camera tracking state changes.
addOnLocationClickListener(OnLocationLayerClickListener) - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerPlugin
Adds a listener that gets invoked when the user clicks the location layer.
addOnLocationLongClickListener(OnLocationLayerLongClickListener) - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerPlugin
Adds a listener that gets invoked when the user long clicks the location layer.
addOnLocationStaleListener(OnLocationStaleListener) - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerPlugin
Adds the passed listener that gets invoked when user updates have stopped long enough for the last update to be considered stale.
applyStyle(int) - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerPlugin
Apply a new LocationLayer style with a style resource.
applyStyle(LocationLayerOptions) - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerPlugin
Apply a new LocationLayer style with location layer options.

B

backgroundDrawable() - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions
Defines the drawable used for the background state icon.
backgroundDrawable(int) - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions.Builder
Defines the drawable used for the background state icon.
backgroundDrawableStale() - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions
Defines the drawable used for the stale background icon.
backgroundDrawableStale(int) - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions.Builder
Defines the drawable used for the stale background icon.
backgroundStaleTintColor() - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions
Defines the background stale color as an integer.
backgroundStaleTintColor(Integer) - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions.Builder
Defines the background stale color as an integer.
backgroundTintColor() - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions
Defines the background color as an integer.
backgroundTintColor(Integer) - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions.Builder
Defines the background color as an integer.
BearingAnimator - Class in com.mapbox.mapboxsdk.plugins.locationlayer.camera
 
BearingAnimator(float, float) - Constructor for class com.mapbox.mapboxsdk.plugins.locationlayer.camera.BearingAnimator
 
bearingDrawable() - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions
Defines the drawable used for the bearing icon.
bearingDrawable(int) - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions.Builder
Defines the drawable used for the bearing icon.
bearingTintColor() - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions
Defines the bearing icon color as an integer.
bearingTintColor(Integer) - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions.Builder
Defines the bearing icon color as an integer.
build() - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions.Builder
Build a new instance of this LocationLayerOptions class.
builder(Context) - Static method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions
Build a new instance of the LocationLayerOptions class with all the attributes set automatically to their defined defaults in this library.
Builder() - Constructor for class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions.Builder
 

C

CameraMode - Class in com.mapbox.mapboxsdk.plugins.locationlayer.modes
Contains the variety of camera modes which determine how the camera will track the user location.
CameraMode.Mode - Annotation Type in com.mapbox.mapboxsdk.plugins.locationlayer.modes
Determine the camera tracking behavior in the LocationLayerPlugin.
com.mapbox.mapboxsdk.plugins.locationlayer - package com.mapbox.mapboxsdk.plugins.locationlayer
Contains the Mapbox Location layer plugin.
com.mapbox.mapboxsdk.plugins.locationlayer.camera - package com.mapbox.mapboxsdk.plugins.locationlayer.camera
 
com.mapbox.mapboxsdk.plugins.locationlayer.modes - package com.mapbox.mapboxsdk.plugins.locationlayer.modes
 
COMPASS - Static variable in class com.mapbox.mapboxsdk.plugins.locationlayer.modes.RenderMode
Tracking the user location with bearing considered from a CompassManager.
CompassListener - Interface in com.mapbox.mapboxsdk.plugins.locationlayer
Callbacks related to the compass
createFromAttributes(Context, int) - Static method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions
Construct a new Location Layer Options class using the attributes found within a style resource.

E

elevation(float) - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions.Builder
Sets the base elevation of this view, in pixels.
elevation() - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions
Sets the base elevation of this view, in pixels.
enableStaleState(boolean) - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions.Builder
Enable or disable to stale state mode.
enableStaleState() - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions
Enable or disable to stale state mode.

F

forceLocationUpdate(Location) - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerPlugin
Use to either force a location update or to manually control when the user location gets updated.
foregroundDrawable(int) - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions.Builder
Supply a Drawable that is to be rendered on top of all of the content in the Location Layer Plugin layer stack.
foregroundDrawable() - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions
Supply a Drawable that is to be rendered on top of all of the content in the Location Layer Plugin layer stack.
foregroundDrawableStale(int) - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions.Builder
Defines the drawable used for the stale foreground icon.
foregroundDrawableStale() - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions
Defines the drawable used for the stale foreground icon.
foregroundStaleTintColor(Integer) - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions.Builder
Defines the foreground stale color as an integer.
foregroundStaleTintColor() - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions
Defines the foreground stale color as an integer.
foregroundTintColor(Integer) - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions.Builder
Defines the foreground color as an integer.
foregroundTintColor() - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions
Defines the foreground color as an integer.

G

getCameraMode() - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerPlugin
Provides the current camera mode being used to track the location or compass updates.
getLastKnownLocation() - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerPlugin
Get the last know location of the location layer plugin.
getLocationEngine() - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerPlugin
Returns the current LocationEngine being used for updating the user location layer.
getLocationLayerOptions() - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerPlugin
Returns the current location options being used.
getRenderMode() - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerPlugin
Provides the current render mode being used to show the location and/or compass updates on the map.
getTarget() - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.camera.LatLngAnimator
 
getTargetBearing() - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.camera.BearingAnimator
 
GPS - Static variable in class com.mapbox.mapboxsdk.plugins.locationlayer.modes.RenderMode
Tracking the user location with bearing considered from Location.
gpsDrawable(int) - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions.Builder
Defines the drawable used for the navigation state icon.
gpsDrawable() - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions
Defines the drawable used for the navigation state icon.

L

LatLngAnimator - Class in com.mapbox.mapboxsdk.plugins.locationlayer.camera
 
LatLngAnimator(LatLng, LatLng) - Constructor for class com.mapbox.mapboxsdk.plugins.locationlayer.camera.LatLngAnimator
 
LocationLayerOptions - Class in com.mapbox.mapboxsdk.plugins.locationlayer
This class exposes options for the Location Layer Plugin.
LocationLayerOptions() - Constructor for class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions
 
LocationLayerOptions.Builder - Class in com.mapbox.mapboxsdk.plugins.locationlayer
Builder class for constructing a new instance of LocationLayerOptions.
LocationLayerPlugin - Class in com.mapbox.mapboxsdk.plugins.locationlayer
The Location layer plugin provides location awareness to your mobile application.
LocationLayerPlugin(MapView, MapboxMap, LocationEngine) - Constructor for class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerPlugin
Construct a LocationLayerPlugin
LocationLayerPlugin(MapView, MapboxMap, LocationEngine, int) - Constructor for class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerPlugin
Construct a LocationLayerPlugin
LocationLayerPlugin(MapView, MapboxMap, LocationEngine, LocationLayerOptions) - Constructor for class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerPlugin
Construct a LocationLayerPlugin

M

maxZoom(double) - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions.Builder
Sets the maximum zoom level the map can be displayed at.
maxZoom() - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions
The maximum zoom level the map can be displayed at.
minZoom(double) - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions.Builder
Sets the minimum zoom level the map can be displayed at.
minZoom() - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions
The minimum zoom level the map can be displayed at.

N

NONE - Static variable in class com.mapbox.mapboxsdk.plugins.locationlayer.modes.CameraMode
No camera tracking.
NONE_COMPASS - Static variable in class com.mapbox.mapboxsdk.plugins.locationlayer.modes.CameraMode
Camera does not track location, but does track compass bearing.
NONE_GPS - Static variable in class com.mapbox.mapboxsdk.plugins.locationlayer.modes.CameraMode
Camera does not track location, but does track GPS Location bearing.
NORMAL - Static variable in class com.mapbox.mapboxsdk.plugins.locationlayer.modes.RenderMode
Basic tracking is enabled, bearing ignored.

O

onCameraTrackingChanged(int) - Method in interface com.mapbox.mapboxsdk.plugins.locationlayer.OnCameraTrackingChangedListener
Invoked on every CameraMode change.
OnCameraTrackingChangedListener - Interface in com.mapbox.mapboxsdk.plugins.locationlayer
Listener that gets invoked when camera tracking state changes.
onCameraTrackingDismissed() - Method in interface com.mapbox.mapboxsdk.plugins.locationlayer.OnCameraTrackingChangedListener
Invoked whenever camera tracking is broken.
onCompassAccuracyChange(int) - Method in interface com.mapbox.mapboxsdk.plugins.locationlayer.CompassListener
This gets invoked when the compass accuracy status changes from one value to another.
onCompassChanged(float) - Method in interface com.mapbox.mapboxsdk.plugins.locationlayer.CompassListener
Callback's invoked when a new compass update occurs.
onLocationLayerClick() - Method in interface com.mapbox.mapboxsdk.plugins.locationlayer.OnLocationLayerClickListener
 
OnLocationLayerClickListener - Interface in com.mapbox.mapboxsdk.plugins.locationlayer
The Location Layer Plugin exposes an API for listening to when the user clicks on the location layer icon visible on the map.
onLocationLayerLongClick() - Method in interface com.mapbox.mapboxsdk.plugins.locationlayer.OnLocationLayerLongClickListener
 
OnLocationLayerLongClickListener - Interface in com.mapbox.mapboxsdk.plugins.locationlayer
The Location Layer Plugin exposes an API for listening to when the user long clicks on the location layer icon visible on the map.
OnLocationStaleListener - Interface in com.mapbox.mapboxsdk.plugins.locationlayer
Listener that can be added as a callback when the last location update is considered stale.
onStaleStateChange(boolean) - Method in interface com.mapbox.mapboxsdk.plugins.locationlayer.OnLocationStaleListener
 
onStart() - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerPlugin
Required to place inside your activities onStart method.
onStop() - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerPlugin
Required to place inside your activities onStop method.

P

padding(int[]) - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions.Builder
Sets the distance from the edges of the map view’s frame to the edges of the map view’s logical viewport.
padding() - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions
Sets the distance from the edges of the map view’s frame to the edges of the map view’s logical viewport.

R

removeCompassListener(CompassListener) - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerPlugin
Remove a compass listener.
removeOnCameraTrackingChangedListener(OnCameraTrackingChangedListener) - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerPlugin
Removes a listener that gets invoked when camera tracking state changes.
removeOnLocationClickListener(OnLocationLayerClickListener) - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerPlugin
Removes the passed listener from the current list of location click listeners.
removeOnLocationLongClickListener(OnLocationLayerLongClickListener) - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerPlugin
Removes the passed listener from the current list of location long click listeners.
removeOnLocationStaleListener(OnLocationStaleListener) - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerPlugin
Removes the passed listener from the current list of stale listeners.
RenderMode - Class in com.mapbox.mapboxsdk.plugins.locationlayer.modes
Contains the variety of ways the user location can be rendered on the map.
RenderMode.Mode - Annotation Type in com.mapbox.mapboxsdk.plugins.locationlayer.modes
One of these constants should be used with LocationLayerPlugin.setRenderMode(int).

S

setCameraMode(int) - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerPlugin
Sets the camera mode, which determines how the map camera will track the rendered location.
setLocationEngine(LocationEngine) - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerPlugin
Set the location engine to update the current user location.
setLocationLayerEnabled(boolean) - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerPlugin
This method will show or hide the location icon and enable or disable the camera tracking the location.
setRenderMode(int) - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerPlugin
Sets the render mode, which determines how the location updates will be rendered on the map.
shortestRotation(float, float) - Static method in class com.mapbox.mapboxsdk.plugins.locationlayer.Utils
Util for finding the shortest path from the current icon rotated degree to the new degree.
staleStateTimeout(long) - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions.Builder
Set the timeout before the location icon becomes stale.
staleStateTimeout() - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions
Set the delay before the location icon becomes stale.

T

toBuilder() - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions
Takes the currently constructed LocationLayerOptions object and provides it's builder with all the values set matching the values in this instance.
TRACKING - Static variable in class com.mapbox.mapboxsdk.plugins.locationlayer.modes.CameraMode
Camera tracks the user location.
TRACKING_COMPASS - Static variable in class com.mapbox.mapboxsdk.plugins.locationlayer.modes.CameraMode
Camera tracks the user location, with bearing provided by a compass.
TRACKING_GPS - Static variable in class com.mapbox.mapboxsdk.plugins.locationlayer.modes.CameraMode
Camera tracks the user location, with bearing provided by a normalized Location.getBearing().
TRACKING_GPS_NORTH - Static variable in class com.mapbox.mapboxsdk.plugins.locationlayer.modes.CameraMode
Camera tracks the user location, with bearing always set to north (0).
trackingInitialMoveThreshold(float) - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions.Builder
Sets minimum single pointer movement (map pan) in pixels required to break camera tracking.
trackingInitialMoveThreshold() - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions
Minimum single pointer movement in pixels required to break camera tracking.
trackingMultiFingerMoveThreshold(float) - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions.Builder
Sets minimum multi pointer movement (map pan) in pixels required to break camera tracking (for example during scale gesture).
trackingMultiFingerMoveThreshold() - Method in class com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerOptions
Minimum multi pointer movement in pixels required to break camera tracking (for example during scale gesture).

U

Utils - Class in com.mapbox.mapboxsdk.plugins.locationlayer
 
A B C E F G L M N O P R S T U 
Skip navigation links