sdk-maps / com.tomtom.online.sdk.map / TomtomMapCallback / OnMapClickListener / onMapClick

onMapClick

abstract fun onMapClick(@NonNull latLng: LatLng): Unit

Called when the user clicks on the map. Executed only when none of the overlays (e.g., traffic) handled the gesture.

Parameters

latLng - LatLng: The latitude and longitude on the ground that was clicked.