Search code examples
androidgoogle-mapslockinglimitzooming

How to limit the map in Android?


I'm developing my first Android application and it is based partly on displaying some information in Google Maps. I've managed to set a new center point and a new default zoom level (the area I want to display is a city).

Now is it possible to "lock" that new default view somehow? That is, the user should be able to zoom in/out and pan around only within this default area.


Solution

  • Turns out this is not possible to do.