-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[6749] fix annotation tap detection (smaller area for annotation imag… #6756
Conversation
…es and native touch on annotation views).
@RomainQuidet, thanks for your PR! By analyzing the history of the files in this pull request, we identified @boundsj, @1ec5 and @rmnblm to be potential reviewers. |
Also, if you don’t mind, please make the corresponding changes in the macOS implementation of MGLMapView. Apart from annotation views (#5035), we’re trying to keep the annotation code consistent between the two platforms. |
Ok I'll do it tomorrow for MacOS. |
Fun to see that method |
Ah, OK. I may be mistaken, but the reason may be that clicking on macOS is much more precise than tapping on iOS, so there was never a need to introduce a “slop area” around an annotation. |
Hello, in our iOS application we are migrating from MKMapKit to Mapbox, however we are facing an issue, which may be related to this branch. Our annotations selection area is to big and user often selects a different annotations, we did not have this problem in MKMapKit. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This pull request has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions. |
I know tap detection is quite sensitive, my tests show it works well on different annotation images and views sizes, with offsets.
Fixes #6749.