toBounds

fun toBounds(bounds: LatLngBounds, bearing: Double = UNCHANGED, tilt: Double = UNCHANGED, zoom: Double = UNCHANGED, padding: DoubleArray? = DoubleArray(4)): CameraUpdate

Build a new CameraUpdate that will fit the given bounds.