A massive magnitude 7 earthquake struck Haiti in January 2010 with an epicenter about 15 km southwest of the capital , Port-au-Prince .