Location Component Settings
data class LocationComponentSettings @JvmOverloads constructor(enabled: Boolean, pulsingEnabled: Boolean, pulsingColor: Int, pulsingMaxRadius: Float, layerAbove: String?, layerBelow: String?, locationPuck: LocationPuck)
Content copied to clipboard
Shows a location puck on the map.
Constructors
LocationComponentSettings
Link copied to clipboard
fun LocationComponentSettings(enabled: Boolean = false, pulsingEnabled: Boolean = false, pulsingColor: Int = Color.parseColor("#4A90E2"), pulsingMaxRadius: Float = 10f, layerAbove: String? = null, layerBelow: String? = null, locationPuck: LocationPuck)
Content copied to clipboard
Properties
layerAbove
Link copied to clipboard
layerBelow
Link copied to clipboard
locationPuck
Link copied to clipboard
pulsingColor
Link copied to clipboard
pulsingEnabled
Link copied to clipboard
pulsingMaxRadius
Link copied to clipboard
The maximum radius of the pulsing circle. Works for 2D location puck only. Note: Setting pulsingMaxRadius to LocationComponentConstants.PULSING_MAX_RADIUS_FOLLOW_ACCURACY will set the pulsing circle's maximum radius to follow location accuracy circle. This property is specified in pixels.