AttributionSettings

Shows the attribution icon on the map.

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

Constructors

AttributionSettings
Link copied to clipboard
fun AttributionSettings(enabled: Boolean, iconColor: Int, position: Int, marginLeft: Float, marginTop: Float, marginRight: Float, marginBottom: Float, clickable: Boolean)

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, iconColor: Int, position: Int, marginLeft: Float, marginTop: Float, marginRight: Float, marginBottom: Float, clickable: Boolean): 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

Whether the attribution can be clicked and click events can be registered.

var clickable: Boolean
enabled
Link copied to clipboard

Whether the attribution icon is visible on the map.

var enabled: Boolean
iconColor
Link copied to clipboard

Defines text color of the attribution icon.

var iconColor: Int
marginBottom
Link copied to clipboard

Defines the margin to the bottom that the attribution icon honors.

var marginBottom: Float
marginLeft
Link copied to clipboard

Defines the margin to the left that the attribution icon honors.

var marginLeft: Float
marginRight
Link copied to clipboard

Defines the margin to the right that the attribution icon honors.

var marginRight: Float
marginTop
Link copied to clipboard

Defines the margin to the top that the attribution icon honors.

var marginTop: Float
position
Link copied to clipboard

Defines where the attribution icon is positioned on the map

var position: Int