A 7.7 magnitude earthquake has struck Myanmar, with the impact felt around 560 miles away in Bangkok.