MGLIconPitchAlignment
enum MGLIconPitchAlignment {}
Orientation of icon when map is pitched.
Values of this type are used in the MGLSymbolStyleLayer.iconPitchAlignment
property.
-
The icon is aligned to the plane of the map.
Declaration
Objective-C
MGLIconPitchAlignmentMapSwift
case map = 0 -
The icon is aligned to the plane of the viewport.
Declaration
Objective-C
MGLIconPitchAlignmentViewportSwift
case viewport = 1 -
Automatically matches the value of
MGLSymbolStyleLayer.iconRotationAlignment.Declaration
Objective-C
MGLIconPitchAlignmentAutoSwift
case auto = 2
Install in Dash
MGLIconPitchAlignment Enumeration Reference