Simply put, dynamic range increases or decreases the number of gray shades displayed, while gray maps adjust the brightness of each shade of gray.
Although they may appear to have a similar effect, they are very different. It often helps to adjust them in conjunction with each other to get the best image.