registerOnCursorSelectionUpdatedMarkers method
void
registerOnCursorSelectionUpdatedMarkers(
- CursorSelectionCallback<
List< ? cursorSelectionMarkersCallbackMarkerMatch> >
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. Passnullto unregister.
Also see:
- setCursorScreenPosition - Move the cursor programmatically to a desired screen position.
Implementation
void registerOnCursorSelectionUpdatedMarkers(
final CursorSelectionCallback<List<MarkerMatch>>?
cursorSelectionMarkersCallback,
) {
_cursorSelectionCallbackMarkers = cursorSelectionMarkersCallback;
GemKitPlatform.instance.filterEvent(
pointerId,
'onCursorSelectionMarkerMatches',
cursorSelectionMarkersCallback == null,
);
}