# MGLFillExtrusionTranslationAnchor

    enum MGLFillExtrusionTranslationAnchor {}

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

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

- `MGLFillExtrusionTranslationAnchorMap`

  The fill extrusion is translated relative to the map.

  #### Declaration

  Objective-C

      MGLFillExtrusionTranslationAnchorMap

  Swift

      case map = 0

  View Source on GitHub
- `MGLFillExtrusionTranslationAnchorViewport`

  The fill extrusion is translated relative to the viewport.

  #### Declaration

  Objective-C

      MGLFillExtrusionTranslationAnchorViewport

  Swift

      case viewport = 1

  View Source on GitHub