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

# MTNavigable.setMaxBounds

abstract fun [setMaxBounds](https://docs.maptiler.com/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.map.workers.navigable/-m-t-navigable/set-max-bounds/)(bounds: [MTBounds](https://docs.maptiler.com/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.map.types/-m-t-bounds/)?)

Applies or clears the geographical constraints that clamp user interaction.

Passing `null` removes the bounds restriction.

#### Parameters

bounds

Geographical limits for map interactions, or null to remove restrictions.
