Thailand's national disaster prevention centre issued a tsunami warning for six southern provinces along the Anadaman coast on Wednesday after a huge earthquake struck off the coast of Indonesia.