AttributionOverlay

Attribution overlay displaying tile source copyright notice.

Required by tile provider usage policies to show attribution on all maps. Renders a semi-transparent background with clickable attribution text in the bottom-right corner.

Constructors

Link copied to clipboard
constructor(context: Context)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun draw(canvas: Canvas, viewWidth: Int, viewHeight: Int)
Link copied to clipboard

Gets the current attribution URL.

Link copied to clipboard
fun handleTouch(x: Float, y: Float, viewWidth: Int, viewHeight: Int): Boolean
Link copied to clipboard

Sets the attribution text to be displayed.

Link copied to clipboard

Sets the attribution URL.