# Other Enumerations

The following enumerations are available globally.

- `MGLAttributionInfoStyle`

  The attribution info is represented in the longest format available.

  See more

  #### Declaration

  Objective-C

      enum MGLAttributionInfoStyle {}

  Swift

      enum MGLAttributionInfoStyle : UInt

  View Source on GitHub

- `MGLCirclePitchAlignment`

  Orientation of circle when map is pitched.

  Values of this type are used in the `MGLCircleStyleLayer.circlePitchAlignment` property.

  See more

  #### Declaration

  Objective-C

      enum MGLCirclePitchAlignment {}

  Swift

      enum MGLCirclePitchAlignment : UInt

  View Source on GitHub
- `MGLCircleScaleAlignment`

  Controls the scaling behavior of the circle when the map is pitched.

  Values of this type are used in the `MGLCircleStyleLayer.circleScaleAlignment` property.

  See more

  #### Declaration

  Objective-C

      enum MGLCircleScaleAlignment {}

  Swift

      enum MGLCircleScaleAlignment : UInt

  View Source on GitHub
- `MGLCircleTranslationAnchor`

  Controls the frame of reference for `MGLCircleStyleLayer.circleTranslation`.

  Values of this type are used in the `MGLCircleStyleLayer.circleTranslationAnchor` property.

  See more

  #### Declaration

  Objective-C

      enum MGLCircleTranslationAnchor {}

  Swift

      enum MGLCircleTranslationAnchor : UInt

  View Source on GitHub

- `MGLFillExtrusionTranslationAnchor`

  Controls the frame of reference for `MGLFillExtrusionStyleLayer.fillExtrusionTranslation`.

  Values of this type are used in the `MGLFillExtrusionStyleLayer.fillExtrusionTranslationAnchor` property.

  See more

  #### Declaration

  Objective-C

      enum MGLFillExtrusionTranslationAnchor {}

  Swift

      enum MGLFillExtrusionTranslationAnchor : UInt

  View Source on GitHub

- `MGLFillTranslationAnchor`

  Controls the frame of reference for `MGLFillStyleLayer.fillTranslation`.

  Values of this type are used in the `MGLFillStyleLayer.fillTranslationAnchor` property.

  See more

  #### Declaration

  Objective-C

      enum MGLFillTranslationAnchor {}

  Swift

      enum MGLFillTranslationAnchor : UInt

  View Source on GitHub

- `MGLHillshadeIlluminationAnchor`

  Direction of light source when map is rotated.

  Values of this type are used in the `MGLHillshadeStyleLayer.hillshadeIlluminationAnchor` property.

  See more

  #### Declaration

  Objective-C

      enum MGLHillshadeIlluminationAnchor {}

  Swift

      enum MGLHillshadeIlluminationAnchor : UInt

  View Source on GitHub

- `MGLLightAnchor`

  Whether extruded geometries are lit relative to the map or viewport.

  See more

  #### Declaration

  Objective-C

      enum MGLLightAnchor {}

  Swift

      enum MGLLightAnchor : UInt

  View Source on GitHub

- `MGLLineCap`

  The display of line endings.

  Values of this type are used in the `MGLLineStyleLayer.lineCap` property.

  See more

  #### Declaration

  Objective-C

      enum MGLLineCap {}

  Swift

      enum MGLLineCap : UInt

  View Source on GitHub
- `MGLLineJoin`

  The display of lines when joining.

  Values of this type are used in the `MGLLineStyleLayer.lineJoin` property.

  See more

  #### Declaration

  Objective-C

      enum MGLLineJoin {}

  Swift

      enum MGLLineJoin : UInt

  View Source on GitHub
- `MGLLineTranslationAnchor`

  Controls the frame of reference for `MGLLineStyleLayer.lineTranslation`.

  Values of this type are used in the `MGLLineStyleLayer.lineTranslationAnchor` property.

  See more

  #### Declaration

  Objective-C

      enum MGLLineTranslationAnchor {}

  Swift

      enum MGLLineTranslationAnchor : UInt

  View Source on GitHub

- `MGLLoggingLevel`

  Constants indicating the message’s logging level.

  See more

  #### Declaration

  Objective-C

      enum MGLLoggingLevel {}

  Swift

      enum MGLLoggingLevel : Int

  View Source on GitHub

- `MGLResourceKind`

  The type of resource that is requested.

  See more

  #### Declaration

  Objective-C

      enum MGLResourceKind {}

  Swift

      enum MGLResourceKind : UInt

  View Source on GitHub

- `MGLRasterResamplingMode`

  The resampling/interpolation method to use for overscaling, also known as texture magnification filter

  Values of this type are used in the `MGLRasterStyleLayer.rasterResamplingMode` property.

  See more

  #### Declaration

  Objective-C

      enum MGLRasterResamplingMode {}

  Swift

      enum MGLRasterResamplingMode : UInt

  View Source on GitHub

- `MGLIconAnchor`

  Part of the icon placed closest to the anchor.

  Values of this type are used in the `MGLSymbolStyleLayer.iconAnchor` property.

  See more

  #### Declaration

  Objective-C

      enum MGLIconAnchor {}

  Swift

      enum MGLIconAnchor : UInt

  View Source on GitHub
- `MGLIconPitchAlignment`

  Orientation of icon when map is pitched.

  Values of this type are used in the `MGLSymbolStyleLayer.iconPitchAlignment` property.

  See more

  #### Declaration

  Objective-C

      enum MGLIconPitchAlignment {}

  Swift

      enum MGLIconPitchAlignment : UInt

  View Source on GitHub
- `MGLIconRotationAlignment`

  In combination with `MGLSymbolStyleLayer.symbolPlacement`, determines the rotation behavior of icons.

  Values of this type are used in the `MGLSymbolStyleLayer.iconRotationAlignment` property.

  See more

  #### Declaration

  Objective-C

      enum MGLIconRotationAlignment {}

  Swift

      enum MGLIconRotationAlignment : UInt

  View Source on GitHub
- `MGLIconTextFit`

  Scales the icon to fit around the associated text.

  Values of this type are used in the `MGLSymbolStyleLayer.iconTextFit` property.

  See more

  #### Declaration

  Objective-C

      enum MGLIconTextFit {}

  Swift

      enum MGLIconTextFit : UInt

  View Source on GitHub
- `MGLSymbolPlacement`

  Label placement relative to its geometry.

  Values of this type are used in the `MGLSymbolStyleLayer.symbolPlacement` property.

  See more

  #### Declaration

  Objective-C

      enum MGLSymbolPlacement {}

  Swift

      enum MGLSymbolPlacement : UInt

  View Source on GitHub
- `MGLSymbolZOrder`

  Controls the order in which overlapping symbols in the same layer are rendered

  Values of this type are used in the `MGLSymbolStyleLayer.symbolZOrder` property.

  See more

  #### Declaration

  Objective-C

      enum MGLSymbolZOrder {}

  Swift

      enum MGLSymbolZOrder : UInt

  View Source on GitHub
- `MGLTextAnchor`

  Part of the text placed closest to the anchor.

  Values of this type are used in the `MGLSymbolStyleLayer.textAnchor` property.

  See more

  #### Declaration

  Objective-C

      enum MGLTextAnchor {}

  Swift

      enum MGLTextAnchor : UInt

  View Source on GitHub
- `MGLTextJustification`

  Text justification options.

  Values of this type are used in the `MGLSymbolStyleLayer.textJustification` property.

  See more

  #### Declaration

  Objective-C

      enum MGLTextJustification {}

  Swift

      enum MGLTextJustification : UInt

  View Source on GitHub
- `MGLTextPitchAlignment`

  Orientation of text when map is pitched.

  Values of this type are used in the `MGLSymbolStyleLayer.textPitchAlignment` property.

  See more

  #### Declaration

  Objective-C

      enum MGLTextPitchAlignment {}

  Swift

      enum MGLTextPitchAlignment : UInt

  View Source on GitHub
- `MGLTextRotationAlignment`

  In combination with `MGLSymbolStyleLayer.symbolPlacement`, determines the rotation behavior of the individual glyphs forming the text.

  Values of this type are used in the `MGLSymbolStyleLayer.textRotationAlignment` property.

  See more

  #### Declaration

  Objective-C

      enum MGLTextRotationAlignment {}

  Swift

      enum MGLTextRotationAlignment : UInt

  View Source on GitHub
- `MGLTextTransform`

  Specifies how to capitalize text.

  Values of this type are used in the `MGLSymbolStyleLayer.textTransform` property.

  See more

  #### Declaration

  Objective-C

      enum MGLTextTransform {}

  Swift

      enum MGLTextTransform : UInt

  View Source on GitHub
- `MGLIconTranslationAnchor`

  Controls the frame of reference for `MGLSymbolStyleLayer.iconTranslation`.

  Values of this type are used in the `MGLSymbolStyleLayer.iconTranslationAnchor` property.

  See more

  #### Declaration

  Objective-C

      enum MGLIconTranslationAnchor {}

  Swift

      enum MGLIconTranslationAnchor : UInt

  View Source on GitHub
- `MGLTextTranslationAnchor`

  Controls the frame of reference for `MGLSymbolStyleLayer.textTranslation`.

  Values of this type are used in the `MGLSymbolStyleLayer.textTranslationAnchor` property.

  See more

  #### Declaration

  Objective-C

      enum MGLTextTranslationAnchor {}

  Swift

      enum MGLTextTranslationAnchor : UInt

  View Source on GitHub

- `MGLTileCoordinateSystem`

  Tile coordinate systems that determine how tile coordinates in tile URLs are interpreted.

  See more

  #### Declaration

  Objective-C

      enum MGLTileCoordinateSystem {}

  Swift

      enum MGLTileCoordinateSystem : UInt

  View Source on GitHub
- `MGLDEMEncoding`

  The encoding formula used to generate the raster-dem tileset

  See more

  #### Declaration

  Objective-C

      enum MGLDEMEncoding {}

  Swift

      enum MGLDEMEncoding : UInt

  View Source on GitHub

- `MGLErrorCode`

  Error constants for the Mapbox SDK.

  See more

  #### Declaration

  Objective-C

      enum MGLErrorCode {}

  Swift

      enum MGLErrorCode : Int

  View Source on GitHub
- `MGLMapDebugMaskOptions`

  Options for enabling debugging features in an `MGLMapView` instance.

  See more

  #### Declaration

  Objective-C

      enum MGLMapDebugMaskOptions {}

  Swift

      struct MGLMapDebugMaskOptions : OptionSet

  View Source on GitHub

- `MGLAnnotationViewDragState`

  These constants indicate the current drag state of an annotation view.

  See more

  #### Declaration

  Objective-C

      enum MGLAnnotationViewDragState {}

  Swift

      enum MGLAnnotationViewDragState : UInt

  View Source on GitHub

- `MGLAnnotationVerticalAlignment`

  The vertical alignment of an annotation within a map view. Used with `MGLMapView.userLocationVerticalAlignment`.

  See more

  #### Declaration

  Objective-C

      enum MGLAnnotationVerticalAlignment {}

  Swift

      enum MGLAnnotationVerticalAlignment : UInt

  View Source on GitHub