---
title: "MTOfflineRegionGeometry | Mobile sdk | Mobile sdk ios | Ios"
description: "Represents the geometry of an offline region."
---

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

# MTOfflineRegionGeometry

```
public enum MTOfflineRegionGeometry : Codable, Equatable, Sendable
```

Represents the geometry of an offline region.

-   `[boundingBox(_:)](#/s:11MapTilerSDK23MTOfflineRegionGeometryO11boundingBoxyAcA010MTBoundingH0VcACmF)`
    
    A rectangular bounding box.
    
    #### Declaration
    
    Swift
    
    ```
    case boundingBox(MTBoundingBox)
    ```
    
-   `[route(_:)](#/s:11MapTilerSDK23MTOfflineRegionGeometryO5routeyACSaySo22CLLocationCoordinate2DVGcACmF)`
    
    A route defined by a series of coordinates.
    
    #### Declaration
    
    Swift
    
    ```
    case route([CLLocationCoordinate2D])
    ```
    
-   `[polygon(_:)](#/s:11MapTilerSDK23MTOfflineRegionGeometryO7polygonyACSaySo22CLLocationCoordinate2DVGcACmF)`
    
    A polygon defined by a series of coordinates (the boundary).
    
    #### Declaration
    
    Swift
    
    ```
    case polygon([CLLocationCoordinate2D])
    ```
    
-   `[bbox](#/s:11MapTilerSDK23MTOfflineRegionGeometryO4bboxAA13MTBoundingBoxVvp)`
    
    The bounding box that contains the entire geometry.
    
    #### Declaration
    
    Swift
    
    ```
    public var bbox: MTBoundingBox { get }
    ```
