Package com.mapbox.maps.plugin.locationcomponent

Types

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.
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.
LocationProvider
Link copied to clipboard
interface LocationProvider
Defines the interface for Location Provider.
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.