View Plugin
Defines interface of a ViewPlugin.
Types
Initializer
Link copied to clipboard
data class Initializer(context: WeakReference<Context>, attributes: TypedArray, pixelRatio: Float)
Content copied to clipboard
Initializer class wraps a bind configuration that can be used during plugin initialisation.
Functions
bind
Link copied to clipboard
abstract fun bind(mapView: FrameLayout, attrs: AttributeSet?, pixelRatio: Float): View
Content copied to clipboard
Bind a view instance
initialize
Link copied to clipboard
open fun initialize()
Content copied to clipboard
Called when the plugin is first added to the map.
on Delegate Provider
Link copied to clipboard
Provides all map delegate instances.
on Plugin View
Link copied to clipboard
Provides a view instances returned in inflate after it's been added to the MapView.
Inheritors
AttributionPlugin
Link copied to clipboard
CompassPlugin
Link copied to clipboard
LogoPlugin
Link copied to clipboard
ScaleBarPlugin
Link copied to clipboard