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