LogoViewPlugin

Concrete implementation of LogoViewPlugin.

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

Constructors

LogoViewPlugin
Link copied to clipboard
fun LogoViewPlugin(viewImplProvider: (Context) -> LogoViewImpl)

Types

Companion
Link copied to clipboard

Static variables and methods.

object Companion

Functions

bind
Link copied to clipboard

Bind the ViewPlugin with current map context. This will create a View that will be added to the MapView.

open override fun bind(mapView: FrameLayout, attrs: AttributeSet?, pixelRatio: Float): View
cleanup
Link copied to clipboard
open override fun cleanup()
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
getSettings
Link copied to clipboard
open 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
open override fun onDelegateProvider(delegateProvider: MapDelegateProvider)
onPluginView
Link copied to clipboard

Provides a view instances returned in bind 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
open override fun updateSettings(block: LogoSettings.() -> Unit)

Properties

enabled
Link copied to clipboard

Defines whether the plugins is enabled or disabled.

open override var enabled: Boolean
marginBottom
Link copied to clipboard
open override var marginBottom: Float
marginLeft
Link copied to clipboard
open override var marginLeft: Float
marginRight
Link copied to clipboard
open override var marginRight: Float
marginTop
Link copied to clipboard
open override var marginTop: Float
position
Link copied to clipboard
open override var position: Int