mapbox / mapbox-annotation-extension

Framework extensions that can be used with the Mapbox Maps SDK for iOS.
ISC License
11 stars 19 forks source link

Enable multi-layer user interaction. #36

Closed fabian-guerra closed 5 years ago

fabian-guerra commented 5 years ago

MGLAnnotationLayerView overrides -pointInside:withEvent: to enable user interaction events when multiple annotation controllers are present.

-pointInside:withEvent: returns true if querying the mapView with the passed point returns features.