AttributionSettingsBase

Abstract settings class for AttributionPlugin.

This abstract class exposes all the required public APIs to configure the AttributionPlugin.

abstract class AttributionSettingsBase : AttributionSettingsInterface

Constructors

AttributionSettingsBase
Link copied to clipboard
fun AttributionSettingsBase()

Functions

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

Get current attribution configuration.

open override 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.

open override fun updateSettings(block: AttributionSettings.() -> Unit)

Properties

clickable
Link copied to clipboard

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

open override var clickable: Boolean
enabled
Link copied to clipboard

Whether the attribution icon is visible on the map.

open override var enabled: Boolean
iconColor
Link copied to clipboard

Defines text color of the attribution icon.

open override var iconColor: Int
marginBottom
Link copied to clipboard

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

open override var marginBottom: Float
marginLeft
Link copied to clipboard

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

open override var marginLeft: Float
marginRight
Link copied to clipboard

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

open override var marginRight: Float
marginTop
Link copied to clipboard

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

open override var marginTop: Float
position
Link copied to clipboard

Defines where the attribution icon is positioned on the map

open override var position: Int

Inheritors

AttributionViewPlugin
Link copied to clipboard