This seems like a very very daunting task unless I'm just over thinking it. I'm not sure if I would implement one for my current project, but if you need to know what kind of layout the map would show then here is a link to my forum post for my project https://www.scirra.com/forum/escape-is-possible-shadow-lights-pathfinding-amp-more_t183930.
I thought it would be a neat idea to have a mini-map on a HUD in one of the corners of the screen.
There's a good example here
Develop games in your browser. Powerful, performant & highly capable.
Thank you so much! I'm amazed at how easy that is!