Lonely Planet has put San Juan, Puerto Rico, on its list of best cities to visit in 2018.

  • San Juan, Puerto Rico makes 'best cities to visit' list
  • List by Lonely Planet was compiled before Hurricane Maria
  • 80 percent of islanders don't have electricity, many roads still closed

The list was compiled before Hurricane Maria hit. A fourth of island residents are still without potable running water, 80 percent lack electricity and only 10 percent of the island's 5,000 miles of roads open.

Baily Freeman, a Lonely Planet editor, says the publisher thinks San Juan "will be back on its feet for travelers in 2018."

San Juan is No. 8 on the list. Seville, Spain, is No. 1, followed by Detroit; Canberra, Australia; Hamburg, Germany; Kaohsiung, Taiwan; Antwerp, Belgium; and Matera, Italy. Guanajuato, Mexico, and Oslo are last.

Lonely Planet's top 10 countries for 2018 are Chile, South Korea, Portugal, Djibouti, New Zealand, Malta, Georgia, Mauritius, China and South Africa.