toBoundsFromPoints method
Computes the smallest bounding box that contains all points.
Returns a record (ne: Point<double>, sw: Point<double>).
Implementation
GoogleMapsUtilsLatLngBounds toBoundsFromPoints(List<Point<double>> points) {
final internal = SphericalUtils.toBoundsFromPoints(points);
return (ne: internal.northEast, sw: internal.southWest);
}