Location Component Plugin Impl
class LocationComponentPluginImpl : LocationComponentSettingsBase2, LocationComponentPlugin2, LocationConsumer2
Content copied to clipboard
Default implementation of the LocationComponentPlugin, it renders the configured location puck to the user's current location.
Constructors
LocationComponentPluginImpl
Link copied to clipboard
fun LocationComponentPluginImpl()
Content copied to clipboard
Functions
addOnIndicatorAccuracyRadiusChangedListener
Link copied to clipboard
open override fun addOnIndicatorAccuracyRadiusChangedListener(listener: OnIndicatorAccuracyRadiusChangedListener)
Content copied to clipboard
addOnIndicatorBearingChangedListener
Link copied to clipboard
open override fun addOnIndicatorBearingChangedListener(listener: OnIndicatorBearingChangedListener)
Content copied to clipboard
addOnIndicatorPositionChangedListener
Link copied to clipboard
open override fun addOnIndicatorPositionChangedListener(listener: OnIndicatorPositionChangedListener)
Content copied to clipboard
bind
Link copied to clipboard
open override 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
open fun initialize()
Content copied to clipboard
isLocatedAt
Link copied to clipboard
open override fun isLocatedAt(point: Point, listener: PuckLocatedAtPointListener)
Content copied to clipboard
onAccuracyRadiusUpdated
Link copied to clipboard
open override fun onAccuracyRadiusUpdated(vararg radius: Double, options: ValueAnimator.() -> Unit?)
Content copied to clipboard
onBearingUpdated
Link copied to clipboard
open override fun onBearingUpdated(vararg bearing: Double, options: ValueAnimator.() -> Unit?)
Content copied to clipboard
onDelegateProvider
Link copied to clipboard
open override fun onDelegateProvider(delegateProvider: MapDelegateProvider)
Content copied to clipboard
onLocationUpdated
Link copied to clipboard
open override fun onLocationUpdated(vararg location: Point, options: ValueAnimator.() -> Unit?)
Content copied to clipboard
onPuckAccuracyRadiusAnimatorDefaultOptionsUpdated
Link copied to clipboard
open override fun onPuckAccuracyRadiusAnimatorDefaultOptionsUpdated(options: ValueAnimator.() -> Unit)
Content copied to clipboard
Update ValueAnimator options that will be used to animate between accuracy radius Double updates by default.
onPuckBearingAnimatorDefaultOptionsUpdated
Link copied to clipboard
open override fun onPuckBearingAnimatorDefaultOptionsUpdated(options: ValueAnimator.() -> Unit)
Content copied to clipboard
Update ValueAnimator options that will be used to animate between bearing Double updates by default.
onPuckLocationAnimatorDefaultOptionsUpdated
Link copied to clipboard
open override fun onPuckLocationAnimatorDefaultOptionsUpdated(options: ValueAnimator.() -> Unit)
Content copied to clipboard
onStyleChanged
Link copied to clipboard
removeOnIndicatorAccuracyRadiusChangedListener
Link copied to clipboard
open override fun removeOnIndicatorAccuracyRadiusChangedListener(listener: OnIndicatorAccuracyRadiusChangedListener)
Content copied to clipboard
removeOnIndicatorBearingChangedListener
Link copied to clipboard
open override fun removeOnIndicatorBearingChangedListener(listener: OnIndicatorBearingChangedListener)
Content copied to clipboard
removeOnIndicatorPositionChangedListener
Link copied to clipboard
open override fun removeOnIndicatorPositionChangedListener(listener: OnIndicatorPositionChangedListener)
Content copied to clipboard
setLocationProvider
Link copied to clipboard
open override fun setLocationProvider(locationProvider: LocationProvider)
Content 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
accuracyRingColor
Link copied to clipboard
layerAbove
Link copied to clipboard
layerBelow
Link copied to clipboard
locationPuck
Link copied to clipboard
puckBearingEnabled
Link copied to clipboard
puckBearingSource
Link copied to clipboard
pulsingColor
Link copied to clipboard
pulsingEnabled
Link copied to clipboard
pulsingMaxRadius
Link copied to clipboard
showAccuracyRing
Link copied to clipboard