---
title: "MTFillExtrusionTranslateAnchor | Mobile sdk | Mobile sdk ios | Ios"
description: "Controls the frame of reference for fill-extrusion translate."
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# MTFillExtrusionTranslateAnchor

```
public enum MTFillExtrusionTranslateAnchor : String
```

Controls the frame of reference for fill-extrusion translate.

-   `[map](#/s:11MapTilerSDK30MTFillExtrusionTranslateAnchorO3mapyA2CmF)`
    
    The fill extrusion is translated relative to the map.
    
    #### Declaration
    
    Swift
    
    ```
    case map
    ```
    
-   `[viewport](#/s:11MapTilerSDK30MTFillExtrusionTranslateAnchorO8viewportyA2CmF)`
    
    The fill extrusion is translated relative to the viewport.
    
    #### Declaration
    
    Swift
    
    ```
    case viewport
    ```
