AttributionSettingsInterface

Interface that defines the public settings interface for AttributionPlugin.

interface AttributionSettingsInterface

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
getSettings
Link copied to clipboard

Get current attribution configuration.

abstract fun getSettings(): AttributionSettings
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String
updateSettings
Link copied to clipboard

Update attribution configuration, the update will be applied to the plugin automatically.

abstract fun updateSettings(block: AttributionSettings.() -> Unit)

Properties

clickable
Link copied to clipboard

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

abstract var clickable: Boolean
enabled
Link copied to clipboard

Whether the attribution icon is visible on the map.

abstract var enabled: Boolean
iconColor
Link copied to clipboard

Defines text color of the attribution icon.

abstract var iconColor: Int
marginBottom
Link copied to clipboard

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

abstract var marginBottom: Float
marginLeft
Link copied to clipboard

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

abstract var marginLeft: Float
marginRight
Link copied to clipboard

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

abstract var marginRight: Float
marginTop
Link copied to clipboard

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

abstract var marginTop: Float
position
Link copied to clipboard

Defines where the attribution icon is positioned on the map

abstract var position: Int

Inheritors

AttributionPlugin
Link copied to clipboard
AttributionSettingsBase
Link copied to clipboard