Added control to hide the map legend.