---
title: "MTPolylineLayerResult | Mobile sdk | Mobile sdk ios | Ios"
description: "The result returned after adding a polyline 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.

# MTPolylineLayerResult

```
public struct MTPolylineLayerResult : Codable, Sendable, Equatable
```

The result returned after adding a polyline layer.

-   `[polylineLayerId](#/s:11MapTilerSDK21MTPolylineLayerResultV08polylineE2IdSSvp)`
    
    Undocumented
    
    #### Declaration
    
    Swift
    
    ```
    public let polylineLayerId: String
    ```
    
-   `[polylineOutlineLayerId](#/s:11MapTilerSDK21MTPolylineLayerResultV015polylineOutlineE2IdSSSgvp)`
    
    Undocumented
    
    #### Declaration
    
    Swift
    
    ```
    public let polylineOutlineLayerId: String?
    ```
    
-   `[polylineSourceId](#/s:11MapTilerSDK21MTPolylineLayerResultV16polylineSourceIdSSvp)`
    
    Undocumented
    
    #### Declaration
    
    Swift
    
    ```
    public let polylineSourceId: String
    ```
