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
@JvmOverloads()
Content copied to clipboard
Functions
component1
Link copied to clipboard
component2
Link copied to clipboard
component3
Link copied to clipboard
component4
Link copied to clipboard
component5
Link copied to clipboard
component6
Link copied to clipboard
component7
Link copied to clipboard
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
Content copied to clipboard
Properties
layerAbove
Link copied to clipboard
Sets the id of the layer that's added above to when placing the component on the map.
layerBelow
Link copied to clipboard
Sets the id of the layer that's added below to when placing the component on the map.
locationPuck
Link copied to clipboard
Defines what the customised look of the location puck.
pulsingColor
Link copied to clipboard
The color of the pulsing circle.
pulsingEnabled
Link copied to clipboard
Whether the location puck is pulsing on the map.
pulsingMaxRadius
Link copied to clipboard
The maximum radius of the pulsing circle.