---
title: "MTZoomable | Mobile sdk | Mobile sdk ios | Ios"
description: "Defines methods for manipulating zoom level."
---

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

# MTZoomable

```
@MainActor
public protocol MTZoomable
```

Defines methods for manipulating zoom level.

-   `[zoomIn()](#/s:11MapTilerSDK10MTZoomableP6zoomInyyYaF)` Asynchronous
    
    Increases the map’s zoom level by 1.
    
    #### Declaration
    
    Swift
    
    ```
    @MainActor
    func zoomIn() async
    ```
    
-   `[zoomOut()](#/s:11MapTilerSDK10MTZoomableP7zoomOutyyYaF)` Asynchronous
    
    Decreases the map’s zoom level by 1.
    
    #### Declaration
    
    Swift
    
    ```
    @MainActor
    func zoomOut() async
    ```
    
-   `[getZoom()](#/s:11MapTilerSDK10MTZoomableP7getZoomSdyYaF)` Asynchronous
    
    Returns the map’s current zoom level.
    
    #### Declaration
    
    Swift
    
    ```
    @MainActor
    func getZoom() async -> Double
    ```
    
-   `[setZoom(_:)](#/s:11MapTilerSDK10MTZoomableP7setZoomyySdYaF)` Asynchronous
    
    Sets the map’s zoom level.
    
    #### Declaration
    
    Swift
    
    ```
    @MainActor
    func setZoom(_ zoom: Double) async
    ```
