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.
Add centerOffset property to MGLAnnotationView #5059
MapKit has a centerOffset property available on MKAnnotationView that allows one "to reposition the annotation view as needed" from the default center point of the annotation model object itself. We should add this feature to MGLAnnotationView.
Getting this functionality into MGLAnnotationImage is being tracked in #3220 / #2151, but that’s blocked by the need for a dynamic styling API. Getting it into MGLAnnotationView neatly avoids that mess.
Activity
1ec5 commentedon May 17, 2016
Getting this functionality into MGLAnnotationImage is being tracked in #3220 / #2151, but that’s blocked by the need for a dynamic styling API. Getting it into MGLAnnotationView neatly avoids that mess.
[ios] mapbox#5059 Reposition immediately after changing the centerOffset
[ios] Added centerOffset to MGLAnnotationView (#5062)
domasn commentedon Jul 28, 2016
@1ec5 It seems that you forgot to take
MGLAnnotationView.centerOffsetinto account when getting an annotation at point.This results in
didSelectAnnotationdelegate method being called unreasonably..1ec5 commentedon Jul 28, 2016
Good catch, @domasn! Please open a new issue for this case.
friedbunny commentedon Jul 28, 2016
@domasn @1ec5 this issue was opened just now as #5820.