# MGLFillTranslationAnchor

    enum MGLFillTranslationAnchor {}

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

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

- `MGLFillTranslationAnchorMap`

  The fill is translated relative to the map.

  #### Declaration

  Objective-C

      MGLFillTranslationAnchorMap

  Swift

      case map = 0

  View Source on GitHub
- `MGLFillTranslationAnchorViewport`

  The fill is translated relative to the viewport.

  #### Declaration

  Objective-C

      MGLFillTranslationAnchorViewport

  Swift

      case viewport = 1

  View Source on GitHub