hitTest method

List<MarkerMatch> hitTest(
  1. RectangleGeographicArea area
)

Perform a hit test across all marker collections.

Parameters

  • IN area The geographic area to be tested

Returns

  • The list of marker matches

Throws

  • An exception if it fails.

Implementation

List<MarkerMatch> hitTest(final RectangleGeographicArea area) {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'MapViewMarkerCollections',
    'hitTest',
    args: <String, RectangleGeographicArea>{'area': area},
  );

  return MarkerMatchList.init(resultString['result'], 0).toList();
}