I just press M to open the map and press it again to close it. You could change the keybind for it so you can do it on a controller.