registerOnCursorSelectionUpdatedMarkers method

void registerOnCursorSelectionUpdatedMarkers(
  1. CursorSelectionCallback<List<MarkerMatch>>? cursorSelectionMarkersCallback
)

Registers for cursor-hover marker selections.

Called when the cursor hovers over markers rendered on the map.

Parameters

  • cursorSelectionMarkersCallback: (CursorSelectionCallback<List<MarkerMatch>>?) Receives marker match information. Pass null to unregister.

Also see:

Implementation

void registerOnCursorSelectionUpdatedMarkers(
  final CursorSelectionCallback<List<MarkerMatch>>?
  cursorSelectionMarkersCallback,
) {
  _cursorSelectionCallbackMarkers = cursorSelectionMarkersCallback;

  GemKitPlatform.instance.filterEvent(
    pointerId,
    'onCursorSelectionMarkerMatches',
    cursorSelectionMarkersCallback == null,
  );
}