LocationComponentSettings

data class LocationComponentSettings @JvmOverloads() constructor(enabled: Boolean, pulsingEnabled: Boolean, pulsingColor: Int, pulsingMaxRadius: Float, layerAbove: String?, layerBelow: String?, locationPuck: LocationPuck)

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)

Functions

component1
Link copied to clipboard
operator fun component1(): Boolean
component2
Link copied to clipboard
operator fun component2(): Boolean
component3
Link copied to clipboard
operator fun component3(): Int
component4
Link copied to clipboard
operator fun component4(): Float
component5
Link copied to clipboard
operator fun component5(): String?
component6
Link copied to clipboard
operator fun component6(): String?
component7
Link copied to clipboard
operator fun component7(): LocationPuck
copy
Link copied to clipboard
fun copy(enabled: Boolean = false, pulsingEnabled: Boolean = false, pulsingColor: Int = Color.parseColor("#4A90E2"), pulsingMaxRadius: Float = 10f, layerAbove: String? = null, layerBelow: String? = null, locationPuck: LocationPuck): LocationComponentSettings
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

enabled
Link copied to clipboard
var enabled: Boolean = false
Whether the user location is visible on the map.
layerAbove
Link copied to clipboard
var layerAbove: String? = null
Sets the id of the layer that's added above to when placing the component on the map.
layerBelow
Link copied to clipboard
var layerBelow: String? = null
Sets the id of the layer that's added below to when placing the component on the map.
locationPuck
Link copied to clipboard
var locationPuck: LocationPuck
Defines what the customised look of the location puck.
pulsingColor
Link copied to clipboard
var pulsingColor: Int
The color of the pulsing circle.
pulsingEnabled
Link copied to clipboard
var pulsingEnabled: Boolean = false
Whether the location puck is pulsing on the map.
pulsingMaxRadius
Link copied to clipboard
var pulsingMaxRadius: Float = 10f
The maximum radius of the pulsing circle.