public static MapStatusUpdate newMapStatusWithLatLngArray(LatLng[] ll) { LatLngBounds.Builder builder = new LatLngBounds.Builder(); builder.include(ll[1]); builder.include(ll[0]); LatLngBounds bounds = builder.build(); MapStatusUpdate mapStatus = MapStatusUpdateFactory.newLatLngBounds(bounds); return mapStatus; }