registerOnCursorSelectionUpdatedLandmarks method

void registerOnCursorSelectionUpdatedLandmarks(
  1. CursorSelectionCallback<List<Landmark>>? cursorSelectionLandmarksCallback
)

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

Parameters

  • IN selectedItem the list of landmarks selected

Implementation

void registerOnCursorSelectionUpdatedLandmarks(
  final CursorSelectionCallback<List<Landmark>>?
  cursorSelectionLandmarksCallback,
) {
  _cursorSelectionCallbackLandmarks = cursorSelectionLandmarksCallback;

  GemKitPlatform.instance.filterEvent(
    pointerId,
    'onCursorSelectionUpdatedLandmarks',
    cursorSelectionLandmarksCallback == null,
  );
}