MGLTextPitchAlignment
enum MGLTextPitchAlignment {}
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
MGLTextPitchAlignmentMapSwift
case map = 0 -
The text is aligned to the plane of the viewport.
Declaration
Objective-C
MGLTextPitchAlignmentViewportSwift
case viewport = 1 -
Automatically matches the value of
MGLSymbolStyleLayer.textRotationAlignment.Declaration
Objective-C
MGLTextPitchAlignmentAutoSwift
case auto = 2
Install in Dash
MGLTextPitchAlignment Enumeration Reference