The 7.4 magnitude earthquake near Vanuatu's capital Port Vila flattened buildings and caused road cracks. The quake struck at 12:47 local time (01:47 GMT) on Tuesday.