function getBounds(coords) {
    const bounds = new LngLatBounds();

    for (const coord of coords) {
        bounds.extend(coord);
    }
    return bounds;
}
Returns the smallest bounding box that contains all the given points
@param {Array<LngLatLike>} coords - Array of LngLatLike objects
@returns {LngLatBounds} The bounding box