---
title: "MTEventLevel | Mobile sdk | Mobile sdk ios | Ios"
description: "Controls which map events are forwarded from the map object."
---

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

# MTEventLevel

```
public enum MTEventLevel : String, Codable, Sendable
```

Controls which map events are forwarded from the map object.

-   essential: Low-frequency lifecycle events only (ready, load, moveend, etc.) plus taps.
-   cameraOnly: Forwards only camera events (move, zoom) in addition to minimal lifecycle.
-   all: Default. Forwards all events including high-frequency move/zoom/touch/render (use with caution on low-end devices).
-   off: Minimal wiring to keep internal lifecycle (ready/load) functioning; all other events are suppressed.

-   `[essential](#/s:11MapTilerSDK12MTEventLevelO9essentialyA2CmF)`
    
    Undocumented
    
    #### Declaration
    
    Swift
    
    ```
    case essential = "ESSENTIAL"
    ```
    
-   `[cameraOnly](#/s:11MapTilerSDK12MTEventLevelO10cameraOnlyyA2CmF)`
    
    Forwards only camera motion events (move, zoom) plus minimal lifecycle (ready/load is implicit). Use this to support overlays that track camera without wiring all touch/render events.
    
    #### Declaration
    
    Swift
    
    ```
    case cameraOnly = "CAMERA_ONLY"
    ```
    
-   `[all](#/s:11MapTilerSDK12MTEventLevelO3allyA2CmF)`
    
    Undocumented
    
    #### Declaration
    
    Swift
    
    ```
    case all = "ALL"
    ```
    
-   `[off](#/s:11MapTilerSDK12MTEventLevelO3offyA2CmF)`
    
    Undocumented
    
    #### Declaration
    
    Swift
    
    ```
    case off = "OFF"
    ```
