LocationComponentSettings2

data class LocationComponentSettings2 @JvmOverloads() constructor(showAccuracyRing: Boolean, accuracyRingColor: Int, accuracyRingBorderColor: Int, puckBearingEnabled: Boolean, puckBearingSource: PuckBearingSource)

Shows a location puck on the map.

Constructors

LocationComponentSettings2
Link copied to clipboard
fun LocationComponentSettings2(showAccuracyRing: Boolean = false, accuracyRingColor: Int = Color.parseColor("#4d89cff0"), accuracyRingBorderColor: Int = Color.parseColor("#4d89cff0"), puckBearingEnabled: Boolean = true, puckBearingSource: PuckBearingSource = PuckBearingSource.HEADING)

Functions

component1
Link copied to clipboard
operator fun component1(): Boolean
component2
Link copied to clipboard
operator fun component2(): Int
component3
Link copied to clipboard
operator fun component3(): Int
component4
Link copied to clipboard
operator fun component4(): Boolean
component5
Link copied to clipboard
operator fun component5(): PuckBearingSource
copy
Link copied to clipboard
fun copy(showAccuracyRing: Boolean = false, accuracyRingColor: Int = Color.parseColor("#4d89cff0"), accuracyRingBorderColor: Int = Color.parseColor("#4d89cff0"), puckBearingEnabled: Boolean = true, puckBearingSource: PuckBearingSource = PuckBearingSource.HEADING): LocationComponentSettings2
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

accuracyRingBorderColor
Link copied to clipboard
var accuracyRingBorderColor: Int
The color of the accuracy ring border.
accuracyRingColor
Link copied to clipboard
var accuracyRingColor: Int
The color of the accuracy ring.
puckBearingEnabled
Link copied to clipboard
var puckBearingEnabled: Boolean = true
Whether the puck rotates to track the bearing source.
puckBearingSource
Link copied to clipboard
var puckBearingSource: PuckBearingSource
The enum controls how the puck is oriented
showAccuracyRing
Link copied to clipboard
var showAccuracyRing: Boolean = false
Whether show accuracy ring with location puck.