AttributionPlugin
interface AttributionPlugin : ViewPlugin, LifecyclePlugin, AttributionSettingsInterface
Content copied to clipboard
Presenter interface for the attribution.
Functions
bind
Link copied to clipboard
abstract fun bind(mapView: FrameLayout, attrs: AttributeSet?, pixelRatio: Float): View
Content copied to clipboard
Bind a view instance
getMapAttributionDelegate
Link copied to clipboard
Get the instance of MapAttributionDelegate
getSettings
Link copied to clipboard
Get current attribution configuration.
initialize
Link copied to clipboard
open fun initialize()
Content copied to clipboard
Called when the plugin is first added to the map.
onDelegateProvider
Link copied to clipboard
Provides all map delegate instances.
onPluginView
Link copied to clipboard
Provides a view instances returned in inflate after it's been added to the MapView.
setCustomAttributionDialogManager
Link copied to clipboard
abstract fun setCustomAttributionDialogManager(dialogManager: AttributionDialogManager)
Content copied to clipboard
Set a custom AttributionDialogManager that is invoked when the attribution view is clicked.
updateSettings
Link copied to clipboard
Update attribution configuration, the update will be applied to the plugin automatically.
Properties
marginBottom
Link copied to clipboard
marginLeft
Link copied to clipboard
marginRight
Link copied to clipboard