New legislation to restrict development in floodplains