Home > @magiclane/maps-sdk > MapViewPathCollection > hitTest
MapViewPathCollection.hitTest() method
Hit test in path collection.
Checks for paths within the given area.
Signature:
hitTest(area: RectangleGeographicArea): PathMatch[];Parameters
Parameter | Type | Description |
|---|---|---|
area | The RectangleGeographicArea where to search for paths. |
Returns:
List of PathMatch objects