added ability to toggle map options