Package com.mapbox.maps.plugin.locationcomponent

Types

DefaultLocationProvider
Link copied to clipboard
class DefaultLocationProvider : LocationProvider
Default Location Provider implementation that produces location updates according to the device's GPS or magnetic field sensor data.
LocationComponentConstants
Link copied to clipboard
object LocationComponentConstants
Contains all the constants being used for the LocationComponentPlugin.
LocationComponentPlugin
Link copied to clipboard
Define the interfaces for the Location plugin.
LocationComponentPlugin2
Link copied to clipboard
Define the interfaces for the Location plugin.
LocationComponentPluginImpl
Link copied to clipboard
Default implementation of the LocationComponentPlugin, it renders the configured location puck to the user's current location.
LocationConsumer
Link copied to clipboard
interface LocationConsumer
Defines the interface for LocationConsumer.
LocationConsumer2
Link copied to clipboard
interface LocationConsumer2 : LocationConsumer
Defines the interface for LocationConsumer.
LocationProvider
Link copied to clipboard
interface LocationProvider
Defines the interface for Location Provider.
fun fun interface OnIndicatorAccuracyRadiusChangedListener
Listener that gets invoked when indicator accuracy radius changes.
OnIndicatorBearingChangedListener
Link copied to clipboard
fun fun interface OnIndicatorBearingChangedListener
Listener that gets invoked when indicator bearing changes.
OnIndicatorPositionChangedListener
Link copied to clipboard
fun fun interface OnIndicatorPositionChangedListener
Listener that gets invoked when indicator position changes.
PuckLocatedAtPointListener
Link copied to clipboard
fun fun interface PuckLocatedAtPointListener
Listener that gets invoked when the is location puck rendered on point validation finished.

Functions

createDefault2DPuck
Link copied to clipboard
fun LocationComponentPlugin.createDefault2DPuck(context: Context, withBearing: Boolean = false): LocationPuck2D
Create a LocationPuck2D instance with or without an arrow bearing image.

Properties

location
Link copied to clipboard
Extension val to get the LocationComponentPlugin instance.
location2
Link copied to clipboard
Extension val to get the LocationComponentPlugin instance with interface LocationComponentPlugin2 to handle accuracy ring.