MGLAnnotationView should have a tiltsToMatchCamera property to complement the rotatesToMatchCamera property added in #9147. The effect we’re after is similar to what you can accomplish with MGLSymbolStyleLayer.iconPitchAlignment. Courtesy of #5245 (comment), here’s a preview of what it would look like when applied to annotation views:

Originally, #5067 introduced a flat property to MGLAnnotationView, off by default, that allowed the view to appear to lie flat against the map as the map tilts. The idea was to match the Google Maps SDK’s GMSMarker.flat property. However, as seen in #5090, all it did was to vertically scale the view, a very different effect.
We backed out the flat option in #5546. #5245 attempted to transform the view the right way to match the map’s transform, but that effort went cold. This issue tracks reviving #5245, in hopes that exposing the map’s transform matrix to the SDK will also enable future improvements for using the SDK with SceneKit.
/cc @fabian-guerra @lilykaiser
MGLAnnotationView should have a
tiltsToMatchCameraproperty to complement therotatesToMatchCameraproperty added in #9147. The effect we’re after is similar to what you can accomplish withMGLSymbolStyleLayer.iconPitchAlignment. Courtesy of #5245 (comment), here’s a preview of what it would look like when applied to annotation views:Originally, #5067 introduced a
flatproperty to MGLAnnotationView, off by default, that allowed the view to appear to lie flat against the map as the map tilts. The idea was to match the Google Maps SDK’sGMSMarker.flatproperty. However, as seen in #5090, all it did was to vertically scale the view, a very different effect.We backed out the
flatoption in #5546. #5245 attempted to transform the view the right way to match the map’s transform, but that effort went cold. This issue tracks reviving #5245, in hopes that exposing the map’s transform matrix to the SDK will also enable future improvements for using the SDK with SceneKit./cc @fabian-guerra @lilykaiser