---
title: "MTAnchor | Mobile sdk | Mobile sdk ios | Ios"
description: "Anchor positions for marker placement."
---

> 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.

# MTAnchor

```
public enum MTAnchor : String, Sendable, Codable
```

Anchor positions for marker placement.

-   `[center](#/s:11MapTilerSDK8MTAnchorO6centeryA2CmF)`
    
    Undocumented
    
    #### Declaration
    
    Swift
    
    ```
    case center
    ```
    
-   `[left](#/s:11MapTilerSDK8MTAnchorO4leftyA2CmF)`
    
    Undocumented
    
    #### Declaration
    
    Swift
    
    ```
    case left
    ```
    
-   `[right](#/s:11MapTilerSDK8MTAnchorO5rightyA2CmF)`
    
    Undocumented
    
    #### Declaration
    
    Swift
    
    ```
    case right
    ```
    
-   `[top](#/s:11MapTilerSDK8MTAnchorO3topyA2CmF)`
    
    Undocumented
    
    #### Declaration
    
    Swift
    
    ```
    case top
    ```
    
-   `[bottom](#/s:11MapTilerSDK8MTAnchorO6bottomyA2CmF)`
    
    Undocumented
    
    #### Declaration
    
    Swift
    
    ```
    case bottom
    ```
    
-   `[topLeft](#/s:11MapTilerSDK8MTAnchorO7topLeftyA2CmF)`
    
    Undocumented
    
    #### Declaration
    
    Swift
    
    ```
    case topLeft = "top-left"
    ```
    
-   `[topRight](#/s:11MapTilerSDK8MTAnchorO8topRightyA2CmF)`
    
    Undocumented
    
    #### Declaration
    
    Swift
    
    ```
    case topRight = "top-right"
    ```
    
-   `[bottomLeft](#/s:11MapTilerSDK8MTAnchorO10bottomLeftyA2CmF)`
    
    Undocumented
    
    #### Declaration
    
    Swift
    
    ```
    case bottomLeft = "bottom-left"
    ```
    
-   `[bottomRight](#/s:11MapTilerSDK8MTAnchorO11bottomRightyA2CmF)`
    
    Undocumented
    
    #### Declaration
    
    Swift
    
    ```
    case bottomRight = "bottom-right"
    ```
