---
title: "MTMapViewContent | Mobile sdk | Mobile sdk ios | Ios"
description: "Map view content requirements."
---

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

# MTMapViewContent

```
public protocol MTMapViewContent
```

Map view content requirements.

-   `[addToMap(_:)](#/s:11MapTilerSDK16MTMapViewContentP05addToA0yyAA0dE0CF)`
    
    Adds the content to the map DSL style.
    
    #### Declaration
    
    Swift
    
    ```
    func addToMap(_ mapView: MTMapView)
    ```
