Other Enumerations
The following enumerations are available globally.
-
The attribution info is represented in the longest format available.
See moreDeclaration
Objective-C
enum MGLAttributionInfoStyle {}
Swift
enum MGLAttributionInfoStyle : UInt
-
Orientation of circle when map is pitched.
Values of this type are used in the
See moreMGLCircleStyleLayer.circlePitchAlignment
property.Declaration
Objective-C
enum MGLCirclePitchAlignment {}
Swift
enum MGLCirclePitchAlignment : UInt
-
Controls the scaling behavior of the circle when the map is pitched.
Values of this type are used in the
See moreMGLCircleStyleLayer.circleScaleAlignment
property.Declaration
Objective-C
enum MGLCircleScaleAlignment {}
Swift
enum MGLCircleScaleAlignment : UInt
-
Controls the frame of reference for
MGLCircleStyleLayer.circleTranslation
.Values of this type are used in the
See moreMGLCircleStyleLayer.circleTranslationAnchor
property.Declaration
Objective-C
enum MGLCircleTranslationAnchor {}
Swift
enum MGLCircleTranslationAnchor : UInt
-
Controls the frame of reference for
MGLFillExtrusionStyleLayer.fillExtrusionTranslation
.Values of this type are used in the
See moreMGLFillExtrusionStyleLayer.fillExtrusionTranslationAnchor
property.Declaration
Objective-C
enum MGLFillExtrusionTranslationAnchor {}
Swift
enum MGLFillExtrusionTranslationAnchor : UInt
-
Controls the frame of reference for
MGLFillStyleLayer.fillTranslation
.Values of this type are used in the
See moreMGLFillStyleLayer.fillTranslationAnchor
property.Declaration
Objective-C
enum MGLFillTranslationAnchor {}
Swift
enum MGLFillTranslationAnchor : UInt
-
Direction of light source when map is rotated.
Values of this type are used in the
See moreMGLHillshadeStyleLayer.hillshadeIlluminationAnchor
property.Declaration
Objective-C
enum MGLHillshadeIlluminationAnchor {}
Swift
enum MGLHillshadeIlluminationAnchor : UInt
-
Whether extruded geometries are lit relative to the map or viewport.
See moreDeclaration
Objective-C
enum MGLLightAnchor {}
Swift
enum MGLLightAnchor : UInt
-
The display of line endings.
Values of this type are used in the
See moreMGLLineStyleLayer.lineCap
property.Declaration
Objective-C
enum MGLLineCap {}
Swift
enum MGLLineCap : UInt
-
The display of lines when joining.
Values of this type are used in the
See moreMGLLineStyleLayer.lineJoin
property.Declaration
Objective-C
enum MGLLineJoin {}
Swift
enum MGLLineJoin : UInt
-
Controls the frame of reference for
MGLLineStyleLayer.lineTranslation
.Values of this type are used in the
See moreMGLLineStyleLayer.lineTranslationAnchor
property.Declaration
Objective-C
enum MGLLineTranslationAnchor {}
Swift
enum MGLLineTranslationAnchor : UInt
-
The type of resource that is requested.
See moreDeclaration
Objective-C
enum MGLResourceKind {}
Swift
enum MGLResourceKind : UInt
-
The resampling/interpolation method to use for overscaling, also known as texture magnification filter
Values of this type are used in the
See moreMGLRasterStyleLayer.rasterResamplingMode
property.Declaration
Objective-C
enum MGLRasterResamplingMode {}
Swift
enum MGLRasterResamplingMode : UInt
-
Part of the icon placed closest to the anchor.
Values of this type are used in the
See moreMGLSymbolStyleLayer.iconAnchor
property.Declaration
Objective-C
enum MGLIconAnchor {}
Swift
enum MGLIconAnchor : UInt
-
Orientation of icon when map is pitched.
Values of this type are used in the
See moreMGLSymbolStyleLayer.iconPitchAlignment
property.Declaration
Objective-C
enum MGLIconPitchAlignment {}
Swift
enum MGLIconPitchAlignment : UInt
-
In combination with
MGLSymbolStyleLayer.symbolPlacement
, determines the rotation behavior of icons.Values of this type are used in the
See moreMGLSymbolStyleLayer.iconRotationAlignment
property.Declaration
Objective-C
enum MGLIconRotationAlignment {}
Swift
enum MGLIconRotationAlignment : UInt
-
Scales the icon to fit around the associated text.
Values of this type are used in the
See moreMGLSymbolStyleLayer.iconTextFit
property.Declaration
Objective-C
enum MGLIconTextFit {}
Swift
enum MGLIconTextFit : UInt
-
Label placement relative to its geometry.
Values of this type are used in the
See moreMGLSymbolStyleLayer.symbolPlacement
property.Declaration
Objective-C
enum MGLSymbolPlacement {}
Swift
enum MGLSymbolPlacement : UInt
-
Part of the text placed closest to the anchor.
Values of this type are used in the
See moreMGLSymbolStyleLayer.textAnchor
property.Declaration
Objective-C
enum MGLTextAnchor {}
Swift
enum MGLTextAnchor : UInt
-
Text justification options.
Values of this type are used in the
See moreMGLSymbolStyleLayer.textJustification
property.Declaration
Objective-C
enum MGLTextJustification {}
Swift
enum MGLTextJustification : UInt
-
Orientation of text when map is pitched.
Values of this type are used in the
See moreMGLSymbolStyleLayer.textPitchAlignment
property.Declaration
Objective-C
enum MGLTextPitchAlignment {}
Swift
enum MGLTextPitchAlignment : UInt
-
In combination with
MGLSymbolStyleLayer.symbolPlacement
, determines the rotation behavior of the individual glyphs forming the text.Values of this type are used in the
See moreMGLSymbolStyleLayer.textRotationAlignment
property.Declaration
Objective-C
enum MGLTextRotationAlignment {}
Swift
enum MGLTextRotationAlignment : UInt
-
Specifies how to capitalize text.
Values of this type are used in the
See moreMGLSymbolStyleLayer.textTransform
property.Declaration
Objective-C
enum MGLTextTransform {}
Swift
enum MGLTextTransform : UInt
-
Controls the frame of reference for
MGLSymbolStyleLayer.iconTranslation
.Values of this type are used in the
See moreMGLSymbolStyleLayer.iconTranslationAnchor
property.Declaration
Objective-C
enum MGLIconTranslationAnchor {}
Swift
enum MGLIconTranslationAnchor : UInt
-
Controls the frame of reference for
MGLSymbolStyleLayer.textTranslation
.Values of this type are used in the
See moreMGLSymbolStyleLayer.textTranslationAnchor
property.Declaration
Objective-C
enum MGLTextTranslationAnchor {}
Swift
enum MGLTextTranslationAnchor : UInt
-
Tile coordinate systems that determine how tile coordinates in tile URLs are interpreted.
See moreDeclaration
Objective-C
enum MGLTileCoordinateSystem {}
Swift
enum MGLTileCoordinateSystem : UInt
-
The encoding formula used to generate the raster-dem tileset
See moreDeclaration
Objective-C
enum MGLDEMEncoding {}
Swift
enum MGLDEMEncoding : UInt
-
Error constants for the Mapbox SDK.
See moreDeclaration
Objective-C
enum MGLErrorCode {}
Swift
enum MGLErrorCode : Int
-
Options for enabling debugging features in an
See moreMGLMapView
instance.Declaration
Objective-C
enum MGLMapDebugMaskOptions {}
Swift
struct MGLMapDebugMaskOptions : OptionSet