---
title: "MTSourceType | Mobile sdk | Mobile sdk ios | Ios"
description: "Types of sources."
---

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

# MTSourceType

```
public enum MTSourceType : String, Codable
```

Types of sources.

Sources state which data the map should display.

-   `[vector](#/s:11MapTilerSDK12MTSourceTypeO6vectoryA2CmF)`
    
    Vector tile source.
    
    #### Declaration
    
    Swift
    
    ```
    case vector
    ```
    
-   `[raster](#/s:11MapTilerSDK12MTSourceTypeO6rasteryA2CmF)`
    
    Raster tile source.
    
    #### Declaration
    
    Swift
    
    ```
    case raster
    ```
    
-   `[rasterDEM](#/s:11MapTilerSDK12MTSourceTypeO9rasterDEMyA2CmF)`
    
    Raster DEM source.
    
    #### Declaration
    
    Swift
    
    ```
    case rasterDEM = "raster-dem"
    ```
    
-   `[geojson](#/s:11MapTilerSDK12MTSourceTypeO7geojsonyA2CmF)`
    
    GeoJSON source.
    
    #### Declaration
    
    Swift
    
    ```
    case geojson
    ```
    
-   `[image](#/s:11MapTilerSDK12MTSourceTypeO5imageyA2CmF)`
    
    Image source.
    
    #### Declaration
    
    Swift
    
    ```
    case image
    ```
    
-   `[video](#/s:11MapTilerSDK12MTSourceTypeO5videoyA2CmF)`
    
    Video source.
    
    #### Declaration
    
    Swift
    
    ```
    case video
    ```
