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

> For AI agents: a documentation index is available at [/llms.txt](https://docs-qmgv.pages.dev/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# MTMapViewController.fitToIpBounds

open override fun [fitToIpBounds](https://docs-qmgv.pages.dev/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.map/-m-t-map-view-controller/fit-to-ip-bounds/)()

Initiates an animated fit to the coarse bounds derived from the device's public IP address.
