LogoSettings

Shows the Mapbox logo on the map.

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

Constructors

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

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

Whether the logo is visible on the map.

var enabled: Boolean
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 logo is positioned on the map

var position: Int