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
MGLIconPitchAlignmentMap
Swift
case map = 0
-
The icon is aligned to the plane of the viewport.
Declaration
Objective-C
MGLIconPitchAlignmentViewport
Swift
case viewport = 1
-
Automatically matches the value of
MGLSymbolStyleLayer.iconRotationAlignment
.Declaration
Objective-C
MGLIconPitchAlignmentAuto
Swift
case auto = 2