public static double[] bbox(MultiPolygon multiPolygon) {
    List<Point> resultCoords = TurfMeta.coordAll(multiPolygon, false);
    return bboxCalculator(resultCoords);
  }
public static double [ ] bbox ( MultiPolygon multiPolygon ) { List < Point > resultCoords = TurfMeta . coordAll ( multiPolygon , false ) ; return bboxCalculator ( resultCoords ) ; }
Takes a set of features, calculates the bbox of all input features, and returns a bounding box.

@param multiPolygon a {@link MultiPolygon} object
@return a double array defining the bounding box in this order {@code [minX, minY, maxX, maxY]}
@since 2.0.0