For the seventh year in a row, visitor spending in California increased in 2016, a nonprofit that promotes California tourism announced Thursday. However, Visit California is forecasting growth to slow this year as foreign visitors stay away because of the strong dollar and President Trump's attempted travel ban and harsh rhetoric about foreigners.

The number of foreign visitors to California started declining during the second half of last year. Asked about Trump, Visit California President & CEO Caroline Beteta said there are many factors that influence whether people visit California. But she acknowledged that Trump has many in the industry concerned.

"It's definitely on the frontal lobes of many," she said Thursday. "It's a very fluid situation."

Also on Thursday, the U.S. Travel Association warned of a slowdown in international visitors in the months ahead. It said the April visitor data that becomes available next monthw illgive an indication of whether there has been a "Trump effect."

"Practically no one who travels internationally books a trip, then gets on a plane the next day," U.S. Travel Senior Vice President for Research David Huether said in a statement. "It takes nearly two full months for the average traveler to search for a trip online, book it, then actually travel."

California traveler spending grew 3.2 percent in 2016, outperforming the nation as a whole by nearly a full percentage point. This year, Visit California is forecasting growth of 2 percent.

Los Angeles saw tourist spending increase to nearly $27 billion in 2016, up from nearly $26 billion the year before. Orange County saw visitor spending go from $11.6 billion from $11.2 billion.

The good news for California's tourism industry is foreign visitors only account for 22 percent of spending. A much higher percent come from intrastate visitors (47 percent) and people from other states (37 percent.) This year's more modest growth is still greater than the 1.4 percent annual growth the state has seen since 2000.

Traveler spending in 2016 injected a record $126 billion into California's economy and generated $10.3 billion in tax revenue and supported 1.1 million jobs last year, according to Visit California.