onLongPress property

void Function(LatLng)? onLongPress
final

Callback function triggered when the map is long-pressed.

Implementation

final void Function(LatLng)? onLongPress;