2

I want to limit the camera of a Google Map (Google Maps Android API v2) to a specific area (described as latlng bounds).

I know that I can limit the movement of the camera with: setLatLngBoundsForCameraTarget(bounds). But this only affects the center of the camera. The user can still move to the edge of the map, such that the edge of the map is in the center of the view.

Do you know how to avoid this behavior?

Marcel Gangwisch
  • 8,856
  • 4
  • 23
  • 32

0 Answers0