You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Tap gesture recognizer should fail unless annotation is nearby #7194
MGLMapView’s built-in UITapGestureRecognizer should set its state to UIGestureRecognizerStateFailed as soon as it discovers that no annotations are nearby. Combined with #2278, the developer would be able to install their own “fallback” tap gesture recognizer that handles taps when the built-in gesture recognizer, meant for annotation selection, has nothing to select.
I hit this. I have annotations on the map, but I would also like to allow the user to tap elsewhere on the map and perform a feature lookup using visibleFeaturesAtPoint:.
Activity
danpat commentedon Nov 26, 2016
I hit this. I have annotations on the map, but I would also like to allow the user to tap elsewhere on the map and perform a feature lookup using
visibleFeaturesAtPoint:.1ec5 commentedon Nov 28, 2016
Note that the recognizer should not fail if an annotation is already selected and tapping closes the annotation’s callout view.
1ec5 commentedon Dec 1, 2016
Fixed in #7246.