I follow a tutorial to generate random dungeon from a tilemap, now after generating, I got the view like this picture.

Now I want the camera to fit the view so that I can't see anything except all dungeon,
and I have the size of the full rectangle of it.