Location Component Plugin2
interface LocationComponentPlugin2 : LocationComponentPlugin, LocationComponentSettingsInterface2
Content copied to clipboard
Define the interfaces for the Location plugin.
Functions
addOnIndicatorAccuracyRadiusChangedListener
Link copied to clipboard
abstract fun addOnIndicatorAccuracyRadiusChangedListener(listener: OnIndicatorAccuracyRadiusChangedListener)
Content copied to clipboard
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
getSettings2
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
removeOnIndicatorAccuracyRadiusChangedListener
Link copied to clipboard
abstract fun removeOnIndicatorAccuracyRadiusChangedListener(listener: OnIndicatorAccuracyRadiusChangedListener)
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
updateSettings2
Link copied to clipboard
abstract fun updateSettings2(block: LocationComponentSettings2.() -> Unit)
Content copied to clipboard
Properties
accuracyRingBorderColor
Link copied to clipboard
The color of the accuracy ring border.
accuracyRingColor
Link copied to clipboard
The color of the accuracy ring.
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.
puckBearingEnabled
Link copied to clipboard
Whether the puck rotates to track the bearing source.
puckBearingSource
Link copied to clipboard
The enum controls how the puck is oriented
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.
showAccuracyRing
Link copied to clipboard
Whether show accuracy ring with location puck.
Inheritors
LocationComponentPluginImpl
Link copied to clipboard