MGLSymbolStyleLayerTextPitchAlignment
enum MGLSymbolStyleLayerTextPitchAlignment : NSUInteger {}
Orientation of text when map is pitched.
-
The text is aligned to the plane of the map.
Declaration
Objective-C
MGLSymbolStyleLayerTextPitchAlignmentMap
Swift
case map = 0
-
The text is aligned to the plane of the viewport.
Declaration
Objective-C
MGLSymbolStyleLayerTextPitchAlignmentViewport
Swift
case viewport = 1
-
Automatically matches the value of
textRotationAlignment
.Declaration
Objective-C
MGLSymbolStyleLayerTextPitchAlignmentAuto
Swift
case auto = 2