AttributionSettings

data class AttributionSettings @JvmOverloads() constructor(enabled: Boolean, iconColor: Int, position: Int, marginLeft: Float, marginTop: Float, marginRight: Float, marginBottom: Float, clickable: Boolean)

Shows the attribution icon on the map.

Constructors

AttributionSettings
Link copied to clipboard
fun AttributionSettings(enabled: Boolean = true, iconColor: Int = Color.parseColor("#FF1E8CAB"), position: Int = Gravity.BOTTOM or Gravity.START, marginLeft: Float = 92f, marginTop: Float = 4f, marginRight: Float = 4f, marginBottom: Float = 4f, clickable: Boolean = true)

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(): Float
component5
Link copied to clipboard
operator fun component5(): Float
component6
Link copied to clipboard
operator fun component6(): Float
component7
Link copied to clipboard
operator fun component7(): Float
component8
Link copied to clipboard
operator fun component8(): Boolean
copy
Link copied to clipboard
fun copy(enabled: Boolean = true, iconColor: Int = Color.parseColor("#FF1E8CAB"), position: Int = Gravity.BOTTOM or Gravity.START, marginLeft: Float = 92f, marginTop: Float = 4f, marginRight: Float = 4f, marginBottom: Float = 4f, clickable: Boolean = true): AttributionSettings
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

clickable
Link copied to clipboard
var clickable: Boolean = true
Whether the attribution can be clicked and click events can be registered.
enabled
Link copied to clipboard
var enabled: Boolean = true
Whether the attribution icon is visible on the map.
iconColor
Link copied to clipboard
var iconColor: Int
Defines text color of the attribution icon.
marginBottom
Link copied to clipboard
var marginBottom: Float = 4f
Defines the margin to the bottom that the attribution icon honors.
marginLeft
Link copied to clipboard
var marginLeft: Float = 92f
Defines the margin to the left that the attribution icon honors.
marginRight
Link copied to clipboard
var marginRight: Float = 4f
Defines the margin to the right that the attribution icon honors.
marginTop
Link copied to clipboard
var marginTop: Float = 4f
Defines the margin to the top that the attribution icon honors.
position
Link copied to clipboard
var position: Int
Defines where the attribution icon is positioned on the map