moveCamera with CameraUpdateFactory.newLatLngBounds crashes
I'm making use of the new Android Google Maps API . I create an activity which includes a MapFragment. In the activity onResume I set the markers into the GoogleMap object and then define a bounding box for the map which includes all of the markers. This is using the following pseudo code: LatLngBounds.Builder builder = new LatLngBounds.Builder(); while(data) { LatLng latlng = getPosition(); builder.include(latlng); } CameraUpdate cameraUpdate = CameraUpdateFactory .newLatLngBounds(builder.build(), 10); map.moveCamera(cameraUpdate); The call to map.moveCamera() causes my application to crash