Location Component Plugin
Define the interfaces for the Location plugin.
interface LocationComponentPlugin : MapPlugin, MapStyleObserverPlugin, LifecyclePlugin, ContextBinder, LocationComponentSettingsInterface
Content copied to clipboard
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 override fun bind(context: Context, attrs: AttributeSet?, pixelRatio: Float)
Content copied to clipboard
equals
Link copied to clipboard
getLocationProvider
Link copied to clipboard
getSettings
Link copied to clipboard
initialize
Link copied to clipboard
open override fun initialize()
Content copied to clipboard
isLocatedAt
Link copied to clipboard
abstract fun isLocatedAt(point: Point, listener: PuckLocatedAtPointListener)
Content copied to clipboard
onDelegateProvider
Link copied to clipboard
open override fun onDelegateProvider(delegateProvider: MapDelegateProvider)
Content copied to clipboard
onStyleChanged
Link copied to clipboard
abstract override fun onStyleChanged(styleDelegate: StyleManagerInterface)
Content 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
abstract override fun updateSettings(block: LocationComponentSettings.() -> Unit)
Content copied to clipboard
Properties
enabled
Link copied to clipboard
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. Only work for 2D location puck.
pulsingEnabled
Link copied to clipboard
Whether the location puck is pulsing on the map. Only work for 2D location puck.
pulsingMaxRadius
Link copied to clipboard
The maximum radius of the pulsing circle. Only work for 2D location puck.
Inheritors
LocationComponentPluginImpl
Link copied to clipboard