How to create map of level

I am working on fps game and I would like to have map of current level and show it on press M key
Is there any way or plugin to create a map of my level?

I’m not talking about the minimap.

I mean a map like Doom had, or something simpler, I assume the map in Doom is programmed by human beings.

Thank you,.