This command completely reveals the map of the area your are currently in (all hidden areas are shown/unlocked).
The syntax for the revealmap command is as follows:
Find below working examples of the revealmap command.
This is the only way to use the revealmap cheat. After using this, the whole map for your current sector will be revealed.