map toggle working