AttributionSettingsInterface

Interface that defines the public settings interface for AttributionPlugin.

Functions

Link copied to clipboard

Get current attribution configuration.

Link copied to clipboard

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

Properties

Link copied to clipboard
abstract var clickable: Boolean

Whether the attribution can be clicked and click events can be registered. Default value: true.

Link copied to clipboard
abstract var enabled: Boolean

Whether the attribution icon is visible on the map. Default value: true.

Link copied to clipboard
abstract var iconColor: Int

Defines text color of the attribution icon. Default value: "#FF1E8CAB".

Link copied to clipboard
abstract var marginBottom: Float

Defines the margin to the bottom that the attribution icon honors. Default value: 4.

Link copied to clipboard
abstract var marginLeft: Float

Defines the margin to the left that the attribution icon honors. Default value: 92.

Link copied to clipboard
abstract var marginRight: Float

Defines the margin to the right that the attribution icon honors. Default value: 4.

Link copied to clipboard
abstract var marginTop: Float

Defines the margin to the top that the attribution icon honors. Default value: 4.

Link copied to clipboard
abstract var position: Int

Defines where the attribution icon is positioned on the map Default value: "bottom-left".

Inheritors

Link copied to clipboard
Link copied to clipboard