A 6.9 magnitude earthquake hit the city of Broome in northwestern Australia.