---
title: "MTMapViewController.setMaxPitch | Mobile sdk | Mobile sdk android | Android"
description: "setMaxPitch"
---

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

# MTMapViewController.setMaxPitch

open override fun [setMaxPitch](https://docs.maptiler.com/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.map/-m-t-map-view-controller/set-max-pitch/)(maxPitch: [Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html))

Sets the map's maximum pitch limit in degrees (0-85).
