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)

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. This property is specified in pixels.

marginLeft
Link copied to clipboard
var marginLeft: Float = 4f

Defines the margin to the left that the attribution icon honors. This property is specified in pixels.

marginRight
Link copied to clipboard
var marginRight: Float = 4f

Defines the margin to the right that the attribution icon honors. This property is specified in pixels.

marginTop
Link copied to clipboard
var marginTop: Float = 4f

Defines the margin to the top that the attribution icon honors. This property is specified in pixels.

position
Link copied to clipboard
var position: Int

Defines where the logo is positioned on the map