sdk-maps / com.tomtom.online.sdk.map / TomtomMapCallback / OnMapLongClickListener / onMapLongClick

onMapLongClick

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

Called when the user long 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 long clicked.