Add a grid visualization to the map.

And many hours of pain in debugging.