Thousands of people have been affected the flooding caused by heavy rain on the Pacific coast of Nicaragua. [Xinhua/AFP]