LocationComponentSettingsBase2

Abstract settings class for LocationComponentPlugin.

This abstract class exposes all the required public APIs to configure the LocationComponentPlugin.

Constructors

LocationComponentSettingsBase2
Link copied to clipboard
fun LocationComponentSettingsBase2()

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
getSettings
Link copied to clipboard
abstract fun getSettings(): LocationComponentSettings
Get current locationcomponent configuration.
getSettings2
Link copied to clipboard
open override fun getSettings2(): LocationComponentSettings2
Get current locationcomponent configuration.
hashCode
Link copied to clipboard
open fun hashCode(): Int
toString
Link copied to clipboard
open fun toString(): String
updateSettings
Link copied to clipboard
abstract fun updateSettings(block: LocationComponentSettings.() -> Unit)
Update locationcomponent configuration, the update will be applied to the plugin automatically.
updateSettings2
Link copied to clipboard
open override fun updateSettings2(block: LocationComponentSettings2.() -> Unit)
Update locationcomponent configuration, the update will be applied to the plugin automatically.

Properties

accuracyRingBorderColor
Link copied to clipboard
open override var accuracyRingBorderColor: Int
The color of the accuracy ring border.
accuracyRingColor
Link copied to clipboard
open override var accuracyRingColor: Int
The color of the accuracy ring.
enabled
Link copied to clipboard
abstract var enabled: Boolean
Whether the user location is visible on the map.
layerAbove
Link copied to clipboard
abstract var layerAbove: String?
Sets the id of the layer that's added above to when placing the component on the map.
layerBelow
Link copied to clipboard
abstract var layerBelow: String?
Sets the id of the layer that's added below to when placing the component on the map.
locationPuck
Link copied to clipboard
abstract var locationPuck: LocationPuck
Defines what the customised look of the location puck.
puckBearingEnabled
Link copied to clipboard
open override var puckBearingEnabled: Boolean
Whether the puck rotates to track the bearing source.
puckBearingSource
Link copied to clipboard
open override var puckBearingSource: PuckBearingSource
The enum controls how the puck is oriented
pulsingColor
Link copied to clipboard
abstract var pulsingColor: Int
The color of the pulsing circle.
pulsingEnabled
Link copied to clipboard
abstract var pulsingEnabled: Boolean
Whether the location puck is pulsing on the map.
pulsingMaxRadius
Link copied to clipboard
abstract var pulsingMaxRadius: Float
The maximum radius of the pulsing circle.
showAccuracyRing
Link copied to clipboard
open override var showAccuracyRing: Boolean
Whether show accuracy ring with location puck.

Inheritors

LocationComponentPluginImpl
Link copied to clipboard