LogoSettings

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

Shows the Mapbox logo on the map.

Constructors

LogoSettings
Link copied to clipboard
fun LogoSettings(enabled: Boolean = true, position: Int = Gravity.BOTTOM or Gravity.START, marginLeft: Float = 4f, marginTop: Float = 4f, marginRight: Float = 4f, marginBottom: Float = 4f)

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(): Float
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
copy
Link copied to clipboard
fun copy(enabled: Boolean = true, position: Int = Gravity.BOTTOM or Gravity.START, marginLeft: Float = 4f, marginTop: Float = 4f, marginRight: Float = 4f, marginBottom: Float = 4f): LogoSettings
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 = true
Whether the logo is visible on the map.
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 = 4f
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 logo is positioned on the map