CustomMapTouchListener

class CustomMapTouchListener(context: Context, view: MapView) : DefaultMapViewOnTouchListener

Custom map touch listener that extends DefaultMapViewOnTouchListener to handle tap events on a MapView.

Parameters

context

The context of the listener.

view

The MapView associated with the listener.

Constructors

Link copied to clipboard
constructor(context: Context, view: MapView)

Functions

Link copied to clipboard
open override fun onSingleTapConfirmed(motionEvent: MotionEvent): Boolean

Handles the single tap confirmed event.

Properties

Link copied to clipboard

The listener for tap events.