Home > @magiclane/maps-sdk > MarkerCollection > hitTest
MarkerCollection.hitTest() method
Hit test in collection markers.
Signature:
hitTest(coordinates: Coordinates, ignoreMarker?: Marker): MarkerMatch[];Parameters
Parameter | Type | Description |
|---|---|---|
coordinates | The coordinates of the position to be tested | |
ignoreMarker | (Optional) The marker to be ignored in the test |
Returns:
The list of marker matches