private void moveToLocation(LatLng latlng, int zoomLevel /* Between 2 an 21 */, int animationDuration) { // Move the camera to the given location with a specific zoomlevel. mGoogleMap.moveCamera(CameraUpdateFactory.newLatLngZoom(latlng, zoomLevel)); // Zoom in, animating the camera. mGoogleMap.animateCamera(CameraUpdateFactory.zoomTo(zoomLevel), animationDuration, null); }