positionsBoundingBox

fun positionsBoundingBox(positions: List<Position>): BoundingBox?(source)

MapBounds.around as the box MapLibre wants.