When you are using maps in an Analytics dashboard, and you hide the map data layer, the map doesn't Autofit to the frame and the unsightly spaces appear at the sides of the map because the map doesn't refit to the new space generated because you hide the map data layer.
The improvement would be that the map resize to the all frame size after hiding the bi data layer.