How can I get a screenshot of an entire map?

Find the map in the sidebar, click the green dropdown arrow next to its name, and then click “Export as Image”.
screenshot