MGLTextPitchAlignment
enum MGLTextPitchAlignment : NSUInteger {}
Orientation of text when map is pitched.
Values of this type are used in the MGLSymbolStyleLayer.textPitchAlignment
property.
-
The text is aligned to the plane of the map.
Declaration
Objective-C
MGLTextPitchAlignmentMap
Swift
case map = 0
-
The text is aligned to the plane of the viewport.
Declaration
Objective-C
MGLTextPitchAlignmentViewport
Swift
case viewport = 1
-
Automatically matches the value of
textRotationAlignment
.Declaration
Objective-C
MGLTextPitchAlignmentAuto
Swift
case auto = 2