Location Component Plugin
interface LocationComponentPlugin : MapPlugin, MapStyleObserverPlugin, LifecyclePlugin, ContextBinder, LocationComponentSettingsInterface
Content copied to clipboard
Define the interfaces for the Location plugin.
Functions
addOnIndicatorBearingChangedListener
Link copied to clipboard
abstract fun addOnIndicatorBearingChangedListener(listener: OnIndicatorBearingChangedListener)
Content copied to clipboard
addOnIndicatorPositionChangedListener
Link copied to clipboard
abstract fun addOnIndicatorPositionChangedListener(listener: OnIndicatorPositionChangedListener)
Content copied to clipboard
bind
Link copied to clipboard
abstract fun bind(context: Context, attrs: AttributeSet?, pixelRatio: Float)
Content copied to clipboard
getLocationProvider
Link copied to clipboard
getSettings
Link copied to clipboard
initialize
Link copied to clipboard
isLocatedAt
Link copied to clipboard
abstract fun isLocatedAt(point: Point, listener: PuckLocatedAtPointListener)
Content copied to clipboard
onDelegateProvider
Link copied to clipboard
onStyleChanged
Link copied to clipboard
removeOnIndicatorBearingChangedListener
Link copied to clipboard
abstract fun removeOnIndicatorBearingChangedListener(listener: OnIndicatorBearingChangedListener)
Content copied to clipboard
removeOnIndicatorPositionChangedListener
Link copied to clipboard
abstract fun removeOnIndicatorPositionChangedListener(listener: OnIndicatorPositionChangedListener)
Content copied to clipboard
setLocationProvider
Link copied to clipboard
updateSettings
Link copied to clipboard
Properties
layerAbove
Link copied to clipboard
Sets the id of the layer that's added above to when placing the component on the map.
layerBelow
Link copied to clipboard
Sets the id of the layer that's added below to when placing the component on the map.
locationPuck
Link copied to clipboard
Defines what the customised look of the location puck.
pulsingColor
Link copied to clipboard
The color of the pulsing circle.
pulsingEnabled
Link copied to clipboard
Whether the location puck is pulsing on the map.
pulsingMaxRadius
Link copied to clipboard
The maximum radius of the pulsing circle.
Inheritors
LocationComponentPlugin2
Link copied to clipboard
Extensions
createDefault2DPuck
Link copied to clipboard
@JvmOverloads()
Content copied to clipboard
Create a LocationPuck2D instance with or without an arrow bearing image.