---
title: "MTNavigable.fitBounds | Mobile sdk | Mobile sdk android | Android"
description: "fitBounds"
---

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

# MTNavigable.fitBounds

abstract fun [fitBounds](https://docs.maptiler.com/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.map.workers.navigable/-m-t-navigable/fit-bounds/)(bounds: [MTBounds](https://docs.maptiler.com/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.map.types/-m-t-bounds/), options: [MTFitBoundsOptions](https://docs.maptiler.com/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.map.options/-m-t-fit-bounds-options/)? = null)

Adjusts the camera to ensure the entire bounding box is visible.

#### Parameters

bounds

Geographical area that must be visible once the transition completes.

options

Optional animation and padding configuration applied while fitting the bounds.
