handleLongPress method
void
handleLongPress(
- TapPosition position
Implementation
void handleLongPress(TapPosition position) {
_resetDoubleTapHold();
if (options.onLongPress == null) {
return;
}
final latlng = _offsetToCrs(position.relative!);
// emit the event
options.onLongPress!(latlng);
}