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.
Tapping annotation within user location accuracy halo selects user location annotation #5571
When annotation is in range of user location accuracy (blue circle) it is impossible to show callout view (marker is not tappable). Instead of that we get callout for user location annotation
Expected behavior
When annotation in blue circle is tapped it should show its callout.
Actual behavior
When annotation in blue circle is tapped user location annotation is presented.
changed the title [-]Annotation view overlapped by user location range[/-][+]Tapping annotation within user location accuracy halo selects user location annotation[/+]on Jul 21, 2016
The regression was introduced in #1582. We now hit-test the user location annotation view based on its layer.presentationLayer, since the view can move around with implicit animation in response to the user location changing. We apparently should be hit-testing based on the presentationLayer of _puckDot or _dotLayer.
True, #5816 excluded the pulsing halo layer but not the static accuracy ring.
e4a9173 in #5882 includes a more comprehensive fix that specifically hit-checks the main dot. That will go in v3.4.0, but we could consider porting a similar fix to yet another patch release... @1ec5?
Activity
[-]Annotation view overlapped by user location range[/-][+]Tapping annotation within user location accuracy halo selects user location annotation[/+]1ec5 commentedon Jul 21, 2016
This issue reproduces in v3.3.0 but not v3.2.0.
1ec5 commentedon Jul 21, 2016
The regression was introduced in #1582. We now hit-test the user location annotation view based on its
layer.presentationLayer, since the view can move around with implicit animation in response to the user location changing. We apparently should be hit-testing based on thepresentationLayerof_puckDotor_dotLayer.friedbunny commentedon Jul 22, 2016
A fix for this should probably be done in conjunction with @frederoni’s refactor in #5573 or wait for that to land.
1ec5 commentedon Jul 27, 2016
I think we can land a more targeted fix in v3.3.2.
[ios] Omit accuracy halo from annotation hit testing
[ios] Omit accuracy halo from annotation hit testing (#5816)
friedbunny commentedon Jul 28, 2016
Fixed by #5816.
friedbunny commentedon Aug 7, 2016
True, #5816 excluded the pulsing halo layer but not the static accuracy ring.
e4a9173 in #5882 includes a more comprehensive fix that specifically hit-checks the main dot. That will go in v3.4.0, but we could consider porting a similar fix to yet another patch release... @1ec5?
friedbunny commentedon Aug 8, 2016
This was fixed in #5894, which is now available in the v3.3.4 release.
mrmacete commentedon Aug 9, 2016
Thank you!
matrejek commentedon Aug 9, 2016
Thanks, it now works as it should.
fabioknoedt commentedon Aug 9, 2016
Cool, thanks!
Fix : use mapbox-gl native 3.3.4 in ref to issue [#5571](mapbox/mapbo…