secondaryTapped method
Called when a long-press gesture has happened, calls the MapOptions.onSecondaryTap callback and emits a MapEventSecondaryTap event.
Implementation
void secondaryTapped(
MapEventSource source,
TapPosition tapPosition,
LatLng position,
) {
options.onSecondaryTap?.call(tapPosition, position);
_emitMapEvent(
MapEventSecondaryTap(
tapPosition: position,
camera: camera,
source: source,
),
);
}