AttributionSettingsBase

abstract class AttributionSettingsBase : AttributionSettingsInterface

Abstract settings class for AttributionPlugin.

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

Constructors

AttributionSettingsBase
Link copied to clipboard
fun AttributionSettingsBase()

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
getSettings
Link copied to clipboard
open override fun getSettings(): AttributionSettings
Get current attribution configuration.
hashCode
Link copied to clipboard
open fun hashCode(): Int
toString
Link copied to clipboard
open fun toString(): String
updateSettings
Link copied to clipboard
open override fun updateSettings(block: AttributionSettings.() -> Unit)
Update attribution configuration, the update will be applied to the plugin automatically.

Properties

clickable
Link copied to clipboard
open override var clickable: Boolean
Whether the attribution can be clicked and click events can be registered.
enabled
Link copied to clipboard
open override var enabled: Boolean
Whether the attribution icon is visible on the map.
iconColor
Link copied to clipboard
open override var iconColor: Int
Defines text color of the attribution icon.
marginBottom
Link copied to clipboard
open override var marginBottom: Float
Defines the margin to the bottom that the attribution icon honors.
marginLeft
Link copied to clipboard
open override var marginLeft: Float
Defines the margin to the left that the attribution icon honors.
marginRight
Link copied to clipboard
open override var marginRight: Float
Defines the margin to the right that the attribution icon honors.
marginTop
Link copied to clipboard
open override var marginTop: Float
Defines the margin to the top that the attribution icon honors.
position
Link copied to clipboard
open override var position: Int
Defines where the attribution icon is positioned on the map

Inheritors

AttributionViewPlugin
Link copied to clipboard