LogoViewPlugin

open class LogoViewPlugin(viewImplProvider: (Context) -> LogoViewImpl) : LogoSettingsBase, LogoPlugin

Concrete implementation of LogoViewPlugin.

Constructors

LogoViewPlugin
Link copied to clipboard
fun LogoViewPlugin(viewImplProvider: (Context) -> LogoViewImpl = { LogoViewImpl(it) })

Functions

bind
Link copied to clipboard
open override fun bind(mapView: FrameLayout, attrs: AttributeSet?, pixelRatio: Float): View
Bind the ViewPlugin with current map context.
cleanup
Link copied to clipboard
open fun cleanup()
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
getSettings
Link copied to clipboard
abstract fun getSettings(): LogoSettings
hashCode
Link copied to clipboard
open fun hashCode(): Int
initialize
Link copied to clipboard
open override fun initialize()
Called when the plugin is first added to the map.
onDelegateProvider
Link copied to clipboard
open fun onDelegateProvider(delegateProvider: MapDelegateProvider)
onPluginView
Link copied to clipboard
open override fun onPluginView(view: View)
Provides a view instances returned in bind after it's been added to the MapView.
toString
Link copied to clipboard
open fun toString(): String
updateSettings
Link copied to clipboard
abstract fun updateSettings(block: LogoSettings.() -> Unit)

Properties

enabled
Link copied to clipboard
open override var enabled: Boolean
Defines whether the plugins is enabled or disabled.
marginBottom
Link copied to clipboard
abstract var marginBottom: Float
marginLeft
Link copied to clipboard
abstract var marginLeft: Float
marginRight
Link copied to clipboard
abstract var marginRight: Float
marginTop
Link copied to clipboard
abstract var marginTop: Float
position
Link copied to clipboard
abstract var position: Int