According to Earthquakes Canada, the earthquake struck at a magnitude of 5.1 and a depth of one kilometre on B.C.'s Sunshine Coast on Friday afternoon.