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.
#11342 proposes adding two new values to the MGLAnnotationVerticalAlignment enumeration that fall between existing values. The existing values clearly aren’t granular enough, but I don’t think we can keep adding new values to accommodate specific applications. Instead, we should add a method to MGLMapViewDelegate that lets the developer decide where the annotation view should be positioned on screen (and thus where the camera’s center coordinate is positioned on screen). This delegate method would be modeled after NavigationViewControllerDelegate.navigationViewController(_:mapViewUserAnchorPoint:), which we introduced in mapbox/mapbox-navigation-ios#402.
#11342 proposes adding two new values to the
MGLAnnotationVerticalAlignmentenumeration that fall between existing values. The existing values clearly aren’t granular enough, but I don’t think we can keep adding new values to accommodate specific applications. Instead, we should add a method to MGLMapViewDelegate that lets the developer decide where the annotation view should be positioned on screen (and thus where the camera’s center coordinate is positioned on screen). This delegate method would be modeled afterNavigationViewControllerDelegate.navigationViewController(_:mapViewUserAnchorPoint:), which we introduced in mapbox/mapbox-navigation-ios#402./ref #7716 #12147
/cc @frederoni @julianrex