registerOnCursorSelectionUpdatedMarkers method

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

This is called by the map view when the cursor is over a set of markers

Parameters

  • IN selectedItem the list of markers selected

Implementation

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

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