LogoPlugin

Presenter interface for the logo.

interface LogoPlugin : ViewPlugin, LogoSettingsInterface

Functions

bind
Link copied to clipboard

Bind a view instance

abstract override fun bind(mapView: FrameLayout, attrs: AttributeSet?, pixelRatio: Float): View
cleanup
Link copied to clipboard

Called when the map is destroyed. Should be used to cleanup plugin resources for that map.

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

Get current logo configuration.

abstract override fun getSettings(): LogoSettings
hashCode
Link copied to clipboard
open override fun hashCode(): Int
initialize
Link copied to clipboard

Called when the plugin is first added to the map.

open override fun initialize()
onDelegateProvider
Link copied to clipboard

Provides all map delegate instances.

open override fun onDelegateProvider(delegateProvider: MapDelegateProvider)
onPluginView
Link copied to clipboard

Provides a view instances returned in inflate after it's been added to the MapView.

open override fun onPluginView(view: View)
toString
Link copied to clipboard
open override fun toString(): String
updateSettings
Link copied to clipboard

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

abstract override fun updateSettings(block: LogoSettings.() -> Unit)

Properties

enabled
Link copied to clipboard

Whether the logo is visible on the map.

abstract override var enabled: Boolean
marginBottom
Link copied to clipboard

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

abstract override var marginBottom: Float
marginLeft
Link copied to clipboard

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

abstract override var marginLeft: Float
marginRight
Link copied to clipboard

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

abstract override var marginRight: Float
marginTop
Link copied to clipboard

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

abstract override var marginTop: Float
position
Link copied to clipboard

Defines where the logo is positioned on the map

abstract override var position: Int

Inheritors

LogoViewPlugin
Link copied to clipboard