An earthquake in Chile triggered a tsunami warning for much of South and Central America