MGLIconRotationAlignment
enum MGLIconRotationAlignment {}
                In combination with symbolPlacement, determines the rotation behavior of
icons.
Values of this type are used in the MGLSymbolStyleLayer.iconRotationAlignment
property.
- 
                  
                  
When
symbolPlacementis set toMGLSymbolPlacementPoint, aligns icons east-west. WhensymbolPlacementis set toMGLSymbolPlacementLine, aligns icon x-axes with the line.Declaration
Objective-C
MGLIconRotationAlignmentMapSwift
case map = 0 - 
                  
                  
Produces icons whose x-axes are aligned with the x-axis of the viewport, regardless of the value of
symbolPlacement.Declaration
Objective-C
MGLIconRotationAlignmentViewportSwift
case viewport = 1 - 
                  
                  
When
symbolPlacementis set toMGLSymbolPlacementPoint, this is equivalent toMGLIconRotationAlignmentViewport. WhensymbolPlacementis set toMGLSymbolPlacementLine, this is equivalent toMGLIconRotationAlignmentMap.Declaration
Objective-C
MGLIconRotationAlignmentAutoSwift
case auto = 2 
              Install in Dash
            
        MGLIconRotationAlignment Enumeration Reference