Started work on adding a toggle button for map legend