Attribution View Plugin
open class AttributionViewPlugin(viewImplProvider: (Context) -> AttributionViewImpl) : AttributionSettingsBase, AttributionPlugin, View.OnClickListener
Content copied to clipboard
Concrete implementation of AttributionViewPlugin.
Constructors
AttributionViewPlugin
Link copied to clipboard
fun AttributionViewPlugin(viewImplProvider: (Context) -> AttributionViewImpl = { AttributionViewImpl(it) })
Content copied to clipboard
Functions
bind
Link copied to clipboard
open override fun bind(mapView: FrameLayout, attrs: AttributeSet?, pixelRatio: Float): View
Content copied to clipboard
Bind the ViewPlugin with current map context. This will create a View that will be added to the MapView.
get Map Attribution Delegate
Link copied to clipboard
Get the instance of MapAttributionDelegate
get Settings
Link copied to clipboard
initialize
Link copied to clipboard
open override fun initialize()
Content copied to clipboard
Called when the plugin is first added to the map.
on Delegate Provider
Link copied to clipboard
open override fun onDelegateProvider(delegateProvider: MapDelegateProvider)
Content copied to clipboard
Provides map delegate instance.
on Plugin View
Link copied to clipboard
Provides a view instances returned in bind after it's been added to the MapView.
set Custom Attribution Dialog Manager
Link copied to clipboard
open override fun setCustomAttributionDialogManager(dialogManager: AttributionDialogManager)
Content copied to clipboard
Set a custom AttributionDialogManager that is invoked when the attribution view is clicked.
update Settings
Link copied to clipboard
Properties
marginBottom
Link copied to clipboard
marginLeft
Link copied to clipboard
marginRight
Link copied to clipboard