Other Enums
The following enums are available globally.
-
Controls the scaling behavior of the circle when the map is pitched.
Values of this type are used in the
See moreMGLCircleStyleLayer.circleScaleAlignmentproperty.Declaration
Objective-C
enum MGLCircleScaleAlignment : NSUInteger {}Swift
enum MGLCircleScaleAlignment : UInt -
Controls the translation reference point.
Values of this type are used in the
See moreMGLCircleStyleLayer.circleTranslationAnchorproperty.Declaration
Objective-C
enum MGLCircleTranslationAnchor : NSUInteger {}Swift
enum MGLCircleTranslationAnchor : UInt
-
Controls the translation reference point.
Values of this type are used in the
See moreMGLFillStyleLayer.fillTranslationAnchorproperty.Declaration
Objective-C
enum MGLFillTranslationAnchor : NSUInteger {}Swift
enum MGLFillTranslationAnchor : UInt
-
The display of line endings.
Values of this type are used in the
See moreMGLLineStyleLayer.lineCapproperty.Declaration
Objective-C
enum MGLLineCap : NSUInteger {}Swift
enum MGLLineCap : UInt -
The display of lines when joining.
Values of this type are used in the
See moreMGLLineStyleLayer.lineJoinproperty.Declaration
Objective-C
enum MGLLineJoin : NSUInteger {}Swift
enum MGLLineJoin : UInt -
Controls the translation reference point.
Values of this type are used in the
See moreMGLLineStyleLayer.lineTranslationAnchorproperty.Declaration
Objective-C
enum MGLLineTranslationAnchor : NSUInteger {}Swift
enum MGLLineTranslationAnchor : UInt
-
In combination with
symbolPlacement, determines the rotation behavior of icons.Values of this type are used in the
See moreMGLSymbolStyleLayer.iconRotationAlignmentproperty.Declaration
Objective-C
enum MGLIconRotationAlignment : NSUInteger {}Swift
enum MGLIconRotationAlignment : UInt -
Scales the icon to fit around the associated text.
Values of this type are used in the
See moreMGLSymbolStyleLayer.iconTextFitproperty.Declaration
Objective-C
enum MGLIconTextFit : NSUInteger {}Swift
enum MGLIconTextFit : UInt -
Label placement relative to its geometry.
Values of this type are used in the
See moreMGLSymbolStyleLayer.symbolPlacementproperty.Declaration
Objective-C
enum MGLSymbolPlacement : NSUInteger {}Swift
enum MGLSymbolPlacement : UInt -
Part of the text placed closest to the anchor.
Values of this type are used in the
See moreMGLSymbolStyleLayer.textAnchorproperty.Declaration
Objective-C
enum MGLTextAnchor : NSUInteger {}Swift
enum MGLTextAnchor : UInt -
Text justification options.
Values of this type are used in the
See moreMGLSymbolStyleLayer.textJustificationproperty.Declaration
Objective-C
enum MGLTextJustification : NSUInteger {}Swift
enum MGLTextJustification : UInt -
Orientation of text when map is pitched.
Values of this type are used in the
See moreMGLSymbolStyleLayer.textPitchAlignmentproperty.Declaration
Objective-C
enum MGLTextPitchAlignment : NSUInteger {}Swift
enum MGLTextPitchAlignment : UInt -
In combination with
symbolPlacement, determines the rotation behavior of the individual glyphs forming the text.Values of this type are used in the
See moreMGLSymbolStyleLayer.textRotationAlignmentproperty.Declaration
Objective-C
enum MGLTextRotationAlignment : NSUInteger {}Swift
enum MGLTextRotationAlignment : UInt -
Specifies how to capitalize text.
Values of this type are used in the
See moreMGLSymbolStyleLayer.textTransformproperty.Declaration
Objective-C
enum MGLTextTransform : NSUInteger {}Swift
enum MGLTextTransform : UInt -
Controls the translation reference point.
Values of this type are used in the
See moreMGLSymbolStyleLayer.iconTranslationAnchorproperty.Declaration
Objective-C
enum MGLIconTranslationAnchor : NSUInteger {}Swift
enum MGLIconTranslationAnchor : UInt -
Controls the translation reference point.
Values of this type are used in the
See moreMGLSymbolStyleLayer.textTranslationAnchorproperty.Declaration
Objective-C
enum MGLTextTranslationAnchor : NSUInteger {}Swift
enum MGLTextTranslationAnchor : UInt
-
Tile coordinate systems that determine how tile coordinates in tile URLs are interpreted.
See moreDeclaration
Objective-C
enum MGLTileCoordinateSystem : NSUInteger {}Swift
enum MGLTileCoordinateSystem : UInt
-
Error constants for the Mapbox SDK.
See moreDeclaration
Objective-C
enum MGLErrorCode : NSInteger {}Swift
enum MGLErrorCode : Int -
Options for enabling debugging features in an
See moreMGLMapViewinstance.Declaration
Objective-C
enum MGLMapDebugMaskOptions : NSUInteger {}Swift
struct MGLMapDebugMaskOptions : OptionSet
Install in Dash
Other Enums Reference