handleTap method

void handleTap(
  1. TapPosition position
)

Implementation

void handleTap(TapPosition position) {
  if (options.onTap == null) {
    return;
  }
  final latlng = _offsetToCrs(position.relative!);
  // emit the event
  options.onTap!(latlng);
}