Clean up the map options.