make sure the nav bar is above the map div (z-index).