---
title: "MTLayerVisibility | Mobile sdk | Mobile sdk ios | Ios"
description: "Enum representing the visibility of the layer."
---

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

# MTLayerVisibility

```
public enum MTLayerVisibility : String
```

Enum representing the visibility of the layer.

-   `[visible](#/s:11MapTilerSDK17MTLayerVisibilityO7visibleyA2CmF)`
    
    Layer is shown.
    
    #### Declaration
    
    Swift
    
    ```
    case visible
    ```
    
-   `[none](#/s:11MapTilerSDK17MTLayerVisibilityO4noneyA2CmF)`
    
    Layer is not shown.
    
    #### Declaration
    
    Swift
    
    ```
    case none
    ```
