ZoomControlsOverlay

Zoom controls overlay displaying +/- buttons for zooming.

Renders two circular buttons in the bottom-right corner (above attribution) for zooming in and out.

Constructors

Link copied to clipboard
constructor(context: Context)

Functions

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

Draws the zoom controls on the canvas.

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

Handles touch events on the zoom controls.