A mental image of a spatial layout is called
A cognitive map is a mental image of a layout. A common example is a rat's memory of a maze.