hitTest method
Perform a hit test across all marker collections at the given coordinates.
Parameters
coordinates: The geographic coordinates to test.
Returns
- A List<MarkerMatch> describing matches found at the location.
Implementation
List<MarkerMatch> hitTest(final Coordinates coordinates) {
final OperationResult resultString = objectMethod(
pointerId,
'MapViewMarkerCollections',
'hitTest',
args: coordinates,
dependencyId: _mapPointerId,
);
return MarkerMatchList.init(resultString['result']).toList();
}