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)

Properties

accuracyRingBorderColor
Link copied to clipboard
var accuracyRingBorderColor: Int

The color of the accuracy ring border. Works for 2D location puck only.

accuracyRingColor
Link copied to clipboard
var accuracyRingColor: Int

The color of the accuracy ring. Works for 2D location puck only.

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. Works for 2D location puck only.