From the Edit menu, select Show Grid. When Show Grid is checked, a grid of black lines will appear over the map.
You can use the grid to align doodads, buildings and resources over terrain.