JUNEAU — The National Tsunami Warning Center in Palmer issued, then canceled, a tsunami warning for the Kenai Peninsula and the shores of Cook Inlet following a Friday morning earthquake in Anchorage.

The warning center said no tsunami had been observed by 9:30 a.m., one hour after the earthquake, and it canceled the alert before 10 a.m.

In the 90-minute period when the warning was in effect, it spurred evacuations from low spots on the Kenai Peninsula.

In Homer, the city began evacuating all low-lying areas, including the Homer Spit.

“We’re evacuating the spit and all low-lying areas below 90 feet,” city spokeswoman Jenny Carroll said by phone about 9:20 a.m. “We are asking all of our residents to evacuate low-lying areas, and we have set up a shelter at our Homer High School.”

Carroll was following the guidance of the National Tsunami Warning Center and said officials in Homer expected any tsunami activity to begin about 15 minutes before noon.

The warning center had projected that any tsunami activity would reach Kodiak by 9:25 a.m., Seward by 9:30 a.m. and Homer by 11:45 a.m.

After the waves failed to materialize, the warning was canceled.